CVE-2026-125180

NameCVE-2026-125180
DescriptionFFmpeg 8.1 through 9.0.2 contains a memory exhaustion vulnerability in the libavcodec/exif.c parser that allows attackers to amplify allocations by pointing many IFD entries at overlapping payloads. Attackers can embed a small crafted EXIF block in TIFF, JPEG, PNG or WebP images to trigger quadratic memory allocation, causing denial of service in decoding applications.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)bookworm, bookworm (security)7:5.1.9-0+deb12u1fixed
trixie (security), trixie7:7.1.5-0+deb13u1fixed
forky7:9.0.2-6vulnerable
sid7:9.1-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcebookworm(not affected)
ffmpegsourcetrixie(not affected)
ffmpegsource(unstable)(unfixed)

Notes

[trixie] - ffmpeg <not-affected> (Vulnerable code not present)
[bookworm] - ffmpeg <not-affected> (Vulnerable code not present)
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/30fff47764e59f02ac7868bb832ed51a88f949fd (master)
Introduced by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/ad77345a5d14862f4701e5ad422b03b14934a5b9 (n8.1)

Search for package or bug name: Reporting problems