Skip to main content
CVE-2026-125255VulnerabilityPublished Updated

FFmpeg through 9.0.2 contains a use after free vulnerability in libavcodec/mjpegdec.c that allows attackers to trigger

Affects ffmpegSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125255· Medium 5.8

Not known to be exploited · CVSS 5.8 Medium.

Data as of 12 Nov 2026, 21:50 UTC

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.8
CNA (VulnCheck)CVSS 3.15.3
CNACVSS 4.05.8
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=stonkingOther threatsAffected
  • =7:8.0.1-3ubuntu2
  • =7:8.1-3ubuntu3
  • =7:8.1.2-2ubuntu2
Fixed in–
Ubuntu Pro 26.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 7:7.1.1-1ubuntu4 – 7:8.0.1-3ubuntu2+esm5
11 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 7:6.0-6ubuntu1 – 7:6.1.1-3ubuntu5+esm15
22 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 7:4.4-6ubuntu5 – 7:4.4.2-0ubuntu0.22.04.1+esm17
24 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/focalOther threatsAffected
  • 7:4.1.4-1build2 – 7:4.2.7-0ubuntu0.1+esm18
26 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 7:3.3.4-2 – 7:3.4.11-0ubuntu0.1+esm16
30 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid processing untrusted MJPEG streams or disable hardware acceleration decoders like NVDEC if possible to reduce risk.

Description

FFmpeg versions through 9.0.2 have a use-after-free vulnerability in the MJPEG decoder component (libavcodec/mjpegdec.c). This flaw allows attackers to cause reads from freed memory by sending a Start of Frame (SOF) marker without a preceding Start of Image (SOI) marker in crafted MJPEG streams. The vulnerability can lead to application crashes or potential leakage of heap memory when the stale pointer is passed to hardware acceleration decoders such as NVDEC.

References

Community reviews

Loading reviews…