JLSEC-2026-2141: FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in...
FFmpeg through 9.0.2 contains an integer overflow vulnerability in happarseframeheader() in libavcodec/hapdec.c that allows attackers to trigger a heap buffer overflow on 32-bit builds. Attackers can craft Hap video frames with Snappy length prefixes that wrap texsize, causing decompresschunksthread() to write outside texbuf and crash the application or potentially execute code.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are affected by the heap overflow condition?
The described heap buffer overflow affects 32-bit builds of FFmpeg. The listed impacted software packages are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll.
What must an attacker provide to trigger the issue?
An attacker must supply a crafted Hap video frame containing Snappy length prefixes that cause tex_size to wrap. Exploitation requires the application to process that malicious frame.