Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-59730— Heap-buffer-overflow write in FFmpeg SANM decoding due to lack of bounds-checking in old_codec48

EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-59730

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Heap-buffer-overflow write in FFmpeg SANM decoding due to lack of bounds-checking in old_codec48
Source: NVD (National Vulnerability Database)
Vulnerability Description
When decoding a frame for a SANM file (ANIM v0 variant), the decoded data can be larger than the buffer allocated for it. Frames encoded with codec 48 can specify their resolution (width x height). A buffer of appropriate size is allocated depending on the resolution. This codec can encode the frame contents using a run-length encoding algorithm. There are no checks that the decoded frame fits in the allocated buffer, leading to a heap-buffer-overflow. process_frame_obj initializes the buffers based on the frame resolution: We recommend upgrading to version 8.0 or beyond.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
跨界内存写
Source: NVD (National Vulnerability Database)
Vulnerability Title
FFmpeg 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FFmpeg是FFmpeg团队的一套可录制、转换以及流化音视频的完整解决方案。 FFmpeg 8.0之前版本存在安全漏洞,该漏洞源于解码帧时未检查解码数据是否超出分配缓冲区,可能导致堆缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
FFmpegFFmpeg 829680f96a7a7ff02d1543895ec0fb713309d5c0 ~ 8.0 -

II. Public POCs for CVE-2025-59730

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-59730

登录查看更多情报信息。

Same Patch Batch · FFmpeg · 2025-10-06 · 7 CVEs total

CVE-2025-59733Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
CVE-2025-59734Heap-buffer-overflow write in FFmpeg SANM process_ftch
CVE-2025-59728Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path
CVE-2025-59731Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
CVE-2025-59732Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
CVE-2025-59729Heap-buffer-overflow read in FFmpeg DHAV get_duration

IV. Related Vulnerabilities

V. Comments for CVE-2025-59730

No comments yet


Leave a comment