Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.9CVE-2026-135712

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

FFmpeg FFmpeg

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135712: medium-severity vulnerability (CVSS 6.9) in FFmpeg FFmpeg.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.9.

Affected products and versions

FFmpeg FFmpeg < 9.1

ProductVersionsFixed in
FFmpeg FFmpeg< 9.1—
ffmpeg ffmpeg< 9.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-190

Relevant change history

  1. Published

    Preliminary advisory published.