High severity8.8NVD Advisory· Published Jul 24, 2026· Updated Aug 7, 2026
CVE-2026-66039
CVE-2026-66039
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6- osv-coords4 versionspkg:rpm/opensuse/ffmpeg-4&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/ffmpeg-4&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ffmpeg-7&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/ffmpeg-7&distro=openSUSE%20Tumbleweed
< 4.4.7-bp160.3.1+ 3 more
- (no CPE)range: < 4.4.7-bp160.3.1
- (no CPE)range: < 4.4.8-3.1
- (no CPE)range: < 7.1.4-160000.3.1
- (no CPE)range: < 7.1.5-2.1
Patches
Vulnerability mechanics
References
3- code.ffmpeg.org/FFmpeg/FFmpeg/commit/aafb5c655edc76a753275c383ebb139feb032718nvdPatch
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23631nvdIssue TrackingPatch
- www.vulncheck.com/advisories/ffmpeg-mace6-audio-decoder-heap-out-of-bounds-write-via-caf-filenvdThird Party Advisory
News mentions
1- Multiple FFmpeg Vulnerabilities Allow Attackers to Corrupt Memory Via Malicious Video FileCyber Security News · Jul 28, 2026