Skip to main content
CVE-2026-125227VulnerabilityPublished Updated

FFmpeg through 9.0.2 contains an integer overflow in cbs_jpeg_write_scan() in libavcodec/cbs_jpeg.c that causes a heap

Affects ffmpegSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125227· High 7.3

Not known to be exploited · CVSS 7.3 High.

Data as of 12 Nov 2026, 22:02 UTC

CVSS 4.0 base score
7.3High
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.07.3
CNA (VulnCheck)CVSS 3.17.0
CNACVSS 4.07.3
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/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/JPEG streams with CBS bitstream filters on 32-bit builds of FFmpeg.

Description

FFmpeg versions through 9.0.2 contain an integer overflow vulnerability in the cbs_jpeg_write_scan() function within libavcodec/cbs_jpeg.c. This flaw leads to a heap buffer overflow on 32-bit builds when processing crafted MJPEG/JPEG streams with large scans (512 MiB or more) via CBS bitstream filters such as filter_units. The vulnerability can cause heap corruption or application crashes.

References

Community reviews

Loading reviews…