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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-66039— FFmpeg MACE6 Audio Decoder Heap Out-of-Bounds Write via CAF File

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.1.2及之前版本存在安全漏洞,该漏洞源于MACE6音频解码器中的有符号整数溢出,因为处理特制CAF文件时,desc chunk中的超大bytes_per_packet和frames_per_packet值在mace_decode_frame()中触发整数溢出,导致缓冲区分配不足和堆越界写入,可能允许攻击者执行代码。

CVSS 8.8 · High EPSS 0.44% · P36

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 2

VendorProduct Version RangeStatus
FFmpeg FFmpeg ≤ 8.1.2 affected
aafb5c655edc76a753275c383ebb139feb032718 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-66039

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
FFmpeg MACE6 Audio Decoder Heap Out-of-Bounds Write via CAF File
Source: CVE Program / CVE List V5
Vulnerability Description
FFmpeg through 8.1.2, fixed in commit aafb5c6, contains a signed integer overflow vulnerability in the MACE6 audio decoder that allows attackers to corrupt heap memory by supplying a crafted CAF file with a malicious bytes_per_packet value. Attackers can craft a CAF file with oversized bytes_per_packet and frames_per_packet values in the desc chunk to trigger an integer overflow in mace_decode_frame() during output sample count computation, resulting in an undersized buffer allocation and heap out-of-bounds write that could enable code execution.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.1.2及之前版本存在安全漏洞,该漏洞源于MACE6音频解码器中的有符号整数溢出,因为处理特制CAF文件时,desc chunk中的超大bytes_per_packet和frames_per_packet值在mace_decode_frame()中触发整数溢出,导致缓冲区分配不足和堆越界写入,可能允许攻击者执行代码。
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 0 ~ 8.1.2 -

II. Public POCs for CVE-2026-66039

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-66039

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

Patches & Fixes for CVE-2026-66039 (2)

Vendor Advisories for CVE-2026-66039 (1)

Same Patch Batch · FFmpeg · 2026-07-24 · 6 CVEs total

CVE-2026-66036 8.8 HIGH FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter
CVE-2026-66040 8.8 HIGH FFmpeg Heap Out-of-Bounds Write via PNG/APNG eXIf Encoder
CVE-2026-66041 8.8 HIGH FFmpeg 7.0 - 8.1.2 Heap Out-of-Bounds Write via vf_quirc Filter
CVE-2026-66037 6.5 MEDIUM FFmpeg IAMF Demuxer Uncontrolled Resource Consumption via mix_presentation_obu()
CVE-2026-66038 6.5 MEDIUM FFmpeg LCL/ZLIB Video Decoder Information Disclosure via lcldec.c

IV. Related Vulnerabilities

V. Comments for CVE-2026-66039

No comments yet


Leave a comment