CVE-2026-135712

published 24 Nov 2026 · updated 24 Nov 2026

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

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 9.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ffmpeg<9.19.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-135712 severity on Zeptric[![CVE-2026-135712](https://zeptric.io/badge/cve/CVE-2026-135712.svg)](https://zeptric.io/cve/CVE-2026-135712)