CVE-2026-125267: FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Out-of-Bounds Write via APAC Decoder

Published Nov 9, 2026
·
Updated

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstreamindex triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.

Affected Software

1 affected component
FFmpeg FFmpeg<8.1.3, >=9.0.0<9.0.2

Event History

Nov 9, 2026
CVE Published
via MITRE·07:12 PM
Data Sourced
via MITRE·07:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using an affected FFmpeg version and decoding APAC files are exposed. Exploitation requires an attacker to provide a crafted APAC file that the application processes.

2

Does exploitation require authentication or user interaction?

The supplied vector indicates no privileges are required, but user interaction is required. The vulnerable processing occurs when the crafted APAC file is decoded.

3

What versions should be remediated?

Upgrade FFmpeg to 8.1.3 or later on the 8.x line, or 9.0.2 or later on the 9.x line. Versions before those releases are affected according to the advisory.

4

What happens if exploitation succeeds?

The crafted file can cause an integer overflow that bypasses a reallocation check, leading memcpy() to write outside the heap buffer. This can corrupt heap memory or crash the application, with high impacts to confidentiality, integrity, and availability.

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