CVE-2026-125227 FFmpeg - Integer Overflow

FFmpeg <= 9.0.2 contains an integer overflow caused by improper handling of large MJPEG/JPEG scan sizes in cbs_jpeg_write_scan() in libavcodec/cbs_jpeg.c, letting attackers cause heap buffer overflow and crash on 32-bit builds, exploit requires crafted MJPEG/JPEG stream.

CVSS base score 7.0 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.14% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Integer Overflow
Impact
Denial Of Service, Remote Code Execution
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
9 November 2026
Updated
11 November 2026
Weakness
CWE-190

Vendor fix

Update to a version later than 9.0.2 or the latest available version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs