CVE-2026-125181: FFmpeg through 9.0.2 FLIC Decoder Out-of-Bounds Write via FLI_BRUN Byte Swap
FFmpeg through 9.0.2 contains an out-of-bounds write vulnerability in flicdecodeframe1516BPP() in libavcodec/flicvideo.c that allows attackers to corrupt heap memory on big-endian builds. Attackers can supply a crafted 15/16 bpp FLIC/FLX file with an FLIBRUN chunk whose non-terminating byte-swap loop writes packet-derived data past the frame buffer, crashing the process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/ffmpegto a version that resolves this vulnerability.Fixed in 7:7.1.6-0+deb13u1Fixed in 7:9.1-3
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The vulnerable path affects FFmpeg through 9.0.2 on big-endian builds. The crafted input must use 15- or 16-bits-per-pixel FLIC/FLX content with an FLI_BRUN chunk.
What does an attacker need to exploit it?
An attacker needs to cause the target process to decode a crafted FLIC/FLX file. The supplied file must trigger the non-terminating byte-swap loop in the FLI_BRUN handling path.
What is the likely impact of successful exploitation?
Successful exploitation can write packet-derived data beyond the frame buffer and corrupt heap memory. The described result is a process crash, while the severity vector also rates confidentiality, integrity, and availability as high.