Skip to content
CVE PROGRAM SOURCE RECORD7.3 High

CVE-2026-125222

FFmpeg through 9.0.2 Heap Buffer Overflow via hap_parse_frame_header()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

FFmpeg FFmpeg

Default version status: unaffected

  • 0 to ≤ 9.0.2affected
pkg:github/ffmpeg/ffmpeg

References