Skip to main content
CVE-2026-125245VulnerabilityPublished Updated

FFmpeg through 9.0.2 contains a memory leak vulnerability in ff_mjpeg_decode_sof() in libavcodec/mjpegdec.c, which

Affects ffmpegSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125245· Medium 5.7

Not known to be exploited · CVSS 5.7 Medium.

Data as of 12 Nov 2026, 21:50 UTC

CVSS 4.0 base score
5.7Medium
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.7
CNA (VulnCheck)CVSS 3.14.7
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/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 with hardware acceleration enabled or disable VAAPI and NVDEC hardware decoding as a temporary mitigation.

Description

FFmpeg versions through 9.0.2 have a memory leak vulnerability in the ff_mjpeg_decode_sof() function within libavcodec/mjpegdec.c. This flaw occurs because the hwaccel_picture_private pointer is overwritten without being freed, allowing crafted MJPEG streams with repeated SOF markers or failing frames to cause memory leaks involving hardware acceleration buffers under VAAPI or NVDEC decoding.

References

Community reviews

Loading reviews…