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

Published Jul 24, 2026
·
Updated

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 bytesperpacket value. Attackers can craft a CAF file with oversized bytesperpacket and framesperpacket values in the desc chunk to trigger an integer overflow in macedecodeframe() during output sample count computation, resulting in an undersized buffer allocation and heap out-of-bounds write that could enable code execution.

Affected Software

1 affected component
FFmpeg FFmpeg<=8.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FFmpeg MACE6 audio decoder (CAF) to a version that resolves this vulnerability.

    Fixed in 8.1.2

Event History

Jul 24, 2026
CVE Published
via MITRE·07:42 PM
Data Sourced
via MITRE·07:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2026-66039?

CVE-2026-66039 is a vulnerability in FFmpeg's MACE6 audio decoder that allows heap out-of-bounds writes due to a signed integer overflow when processing crafted CAF files.

2

What is the severity of CVE-2026-66039?

CVE-2026-66039 has a high severity rating of 8.8 on the CVSS scale.

3

How do I fix CVE-2026-66039?

To fix CVE-2026-66039, upgrade FFmpeg to a version beyond 8.1.2 where the vulnerability has been patched.

4

What impacts does CVE-2026-66039 have on systems?

CVE-2026-66039 can allow attackers to corrupt heap memory, potentially leading to remote code execution or system crashes.

5

Which versions of FFmpeg are affected by CVE-2026-66039?

CVE-2026-66039 affects FFmpeg versions up to 8.1.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203