CVE-2026-125247: FFmpeg through 9.0.2 Integer Overflow via dng_decode_tiles() in libavcodec/tiff.c
FFmpeg through 9.0.2 contains an integer overflow vulnerability in dngdecodetiles() that allows attackers to leak uninitialized memory via crafted DNG tile dimensions. Attackers can set TileWidth or TileLength near INTMAX so the tile loop never runs, outputting a frame exposing uninitialized or stale heap memory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/ffmpegto a version that resolves this vulnerability.Fixed in 8.1.4-r0 - Upgrade
Upgrade
debian/ffmpegto a version that resolves this vulnerability.Fixed in 7:7.1.6-0+deb13u1
Event History
Frequently Asked Questions
What conditions are needed for exploitation?
An attacker needs a victim to process a crafted DNG file with TileWidth or TileLength values near INT_MAX. The supplied vector indicates user interaction is required and the attack is local.
Which security properties are affected?
The issue is limited to confidentiality impact: it can expose uninitialized or stale heap memory in an output frame. The provided severity vector indicates no integrity or availability impact.