CVE-2026-135712: FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()

Published Nov 24, 2026
·
Updated

FFmpeg before 9.1 contains an integer overflow vulnerability in the splitplanes size check of writepacket() in libavformat/img2enc.c that allows out-of-bounds heap reads. Attackers can supply a crafted input whose rawvideo stream declares very large width and height, remuxed into .y image files, to leak heap memory into output files or crash the application.

Affected Software

1 affected component
FFmpeg FFmpeg<9.1

Event History

Nov 24, 2026
CVE Published
via MITRE·03:14 AM
Data Sourced
via MITRE·03:14 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker needs to provide a crafted input containing a rawvideo stream with very large declared width and height. The affected application must remux that input into .y image files, reaching the split_planes size check in img2enc.c write_packet().

2

What is the practical impact of successful exploitation?

The integer overflow can cause an out-of-bounds heap read. This may leak heap memory into generated output files or crash the application.

3

Which FFmpeg versions should be considered affected?

FFmpeg versions before 9.1 are affected. The supplied data does not identify a narrower affected version range.

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