P2 · HighCVSS 7.0
FFmpeg through 9.0.2 Heap Buffer Overflow via hap_parse_frame_header()
- CVE-2026-125222
- GHSA-hhqp-5v24-4hhg
- EUVD-2026-120311
Description
FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() 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 tex_size, causing decompress_chunks_thread() to write outside tex_buf and crash the application or potentially execute code.
Text from the CVE.org record.
Affected
ffmpeg
- up to 9.0.2
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.