CVE-2026-135709 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 out-of-bounds write vulnerability in ogg_buffer_data() in libavformat/oggenc.c because ogg_buffer_page() leaves a full page current after failed allocation. When page allocation fails, a memset with length (size_t)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.

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