medium4.8
CVE-2026-125247
FFmpeg through 9.0.2 contains an integer overflow vulnerability in dng_decode_tiles() that allows attackers to leak uninitialized memory via crafted DNG tile d…
Impact
FFmpeg through 9.0.2 contains an integer overflow vulnerability in dng_decode_tiles() that allows attackers to leak uninitialized memory via crafted DNG tile dimensions. Attackers can set TileWidth or TileLength near INT_MAX so the tile loop never runs, outputting a frame exposing uninitialized or stale heap memory.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read.
Affected products · FFmpeg
| Product | Affected versions |
|---|---|
| FFmpeg | through 9.0.2 Version 0 ≤9.0.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24999
- https://github.com/FFmpeg/FFmpeg/commit/a9c070e52fecb7fb247db829130899db07953823
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/tiff.c#L1007
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-integer-overflow-via-dng-decode-tiles-in-libavcodec-tiff-c
- https://github.com/advisories/GHSA-jhv5-xmvg-qh9f
- https://nvd.nist.gov/vuln/detail/CVE-2026-125247