Libav: FFmpeg through 8.1.2, fixed in commit aafb5c6, contains a signed integer overflow vulnerability in the MACE6 audio decoder that allows attackers to… (CVE-2026-66039)
Affects libavSource GCVE Database
Not known to be exploited · CVSS 8.8 Medium · fixed in 8.1.3 : update libav when convenient.
Data as of 10/24/2026, 17:08:26 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.1.3, 7:2.8.17-0ubuntu0.1+esm15, 7:3.4.11-0ubuntu0.1+esm13 +4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHub Actionsffmpeg/FFmpegpkg:github/ffmpeg/FFmpegOther threats | Affected
| Fixed in
|
Ubuntu:Pro:14.04:LTSlibavpkg:deb/ubuntu/libav?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Ubuntu:Pro:16.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in
|
Ubuntu:Pro:18.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu:Pro:20.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu:Pro:22.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu:Pro:24.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu:26.10ffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu:Pro:26.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
FFmpeg versions through 8.1.2 contain a signed integer overflow vulnerability in the MACE6 audio decoder. This flaw allows attackers to craft a malicious CAF audio file with specially manipulated bytes_per_packet and frames_per_packet values, triggering an integer overflow during output sample count computation. The overflow leads to an undersized buffer allocation and a heap out-of-bounds write, potentially enabling arbitrary code execution. The vulnerability is fixed in a commit identified as aafb5c6.
Weaknesses
References
- nvd.nist.gov/vuln/detail/CVE-2026-66039 (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/commit/aafb5c655edc76a753275c383ebb139feb032718 (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23631 (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-mace6-audio-decoder-heap-out-of-bounds-write-via-caf-file (opens in a new tab)
- ubuntu.com/security/CVE-2026-66039 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-66039 (opens in a new tab)
- ubuntu.com/security/notices/USN-8671-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8738-1 (opens in a new tab)