CVE-2026-135707 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 uninitialized memory vulnerability in nist_read_header() in libavformat/nistspheredec.c, where an inverted ff_alloc_extradata() return check leaves the embedded-shorten extradata byte uninitialized. Attackers can supply a crafted NIST SPHERE file declaring pcm,embedded-shorten coding to leak an uninitialized heap byte into copied output or trigger a NULL pointer write on allocation failure.

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