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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
FFmpeg FFmpeg
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FFmpeg是FFmpeg团队的一套可录制、转换以及流化音视频的完整解决方案。 FFmpeg 8.0之前版本存在安全漏洞,该漏洞源于解码帧时未检查解码数据是否超出分配缓冲区,可能导致堆缓冲区溢出。

AI Predicted 7.5 Difficulty: Easy EPSS 0.16% · P5

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
FFmpeg FFmpeg 829680f96a7a7ff02d1543895ec0fb713309d5c0 ~ 8.0 -

II. Public POCs for CVE-2025-59730

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-59730

请登录查看更多情报信息。

Vendor Pages for CVE-2025-59730 (1)

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-59730

No comments yet


Leave a comment