CVE-2026-135712 in ffmpeg

Exploitation of this CVE does not show up in logs, so there is no detection rule for it.

What the vulnerability is

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 software: ffmpeg

Scores

What LogPulse has for it

How to mitigate it

Upgrade FFmpeg to 9.1 for crafted media file flaws (part 2)

Patch or upgrade. More FFmpeg before 9.1 flaws in demuxers and muxers (VMD, NIST SPHERE, MXG, OGG, img2, NUT, AVIF, modplug, TTML, DXA) that a crafted media file triggers. Upgrading to 9.1 fixes them.

Applies to: FFmpeg before 9.1.

  1. Find every system and container image that ships FFmpeg or libavformat and note the version with ffmpeg -version.
  2. Upgrade to FFmpeg 9.1 or later and rebuild applications and images that link FFmpeg statically.
  3. Until then, process untrusted media in a sandboxed, low-privilege container with no network access.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse