CVE-2026-125170: FFmpeg through 9.0.2 Uninitialized Memory Disclosure via targa_decode_rle()
FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability in targadecoderle() in libavcodec/targa.c caused by missing packet length checks. Attackers can supply truncated RLE-compressed TGA images so decoded frames contain leftover heap buffer data and replicated uninitialized stack bytes.
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 must an attacker do to trigger the disclosure?
An attacker must cause FFmpeg to decode a truncated RLE-compressed TGA image. The supplied image can lead decoded frames to include leftover heap-buffer contents and replicated uninitialized stack bytes.
Is remote exploitation possible without user interaction?
The vector is local and user interaction is required. The provided information indicates the attacker needs a user or process to open or otherwise decode the crafted TGA image with FFmpeg.
What information could be exposed?
Decoded frames may disclose uninitialized memory, specifically leftover heap buffer data and replicated uninitialized stack bytes. The stated impact is confidentiality loss only; no integrity or availability impact is specified.