Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2026-135712 EUVD-2026-133637GHSA-rw2g-gjp9-8mpr

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

Published Nov 24, 2026 · Updated Nov 24, 2026 · Assigned by VulnCheck

Description

FFmpeg before 9.1 contains an integer overflow vulnerability in the split_planes size check of write_packet() 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 products

VendorProductAffectedFixed
FFmpeg FFmpeg < 9.1 9.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg No fix yet —
Debian 13 ffmpeg No fix yet —
Debian 12 ffmpeg No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ffmpeg No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS ffmpeg No fix yet —
Ubuntu Pro 24.04 LTS ffmpeg No fix yet —
Ubuntu Pro 22.04 LTS ffmpeg No fix yet —
Ubuntu Pro 20.04 LTS ffmpeg No fix yet —
Ubuntu Pro 18.04 LTS ffmpeg No fix yet —
Ubuntu Pro 16.04 LTS ffmpeg No fix yet —
Ubuntu Pro 14.04 LTS libav No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • googlesky/CVE-2026-135712 ★ 0 · Nov 24, 2026

    FFmpeg <9.1: img2enc split_planes size check uses 32-bit int — oversized frame dimensions overflow and allow out-of-bounds reads. Verbatim arithmetic from ff53919^ vs int64 fix with UBSan: overflow/c…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References