CVE Catalog

CVE-2026-125222

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Crafted Hap video files can lead to memory corruption, application crashes, and potentially code execution, especially in 32-bit environments.

Recommendation

Update FFmpeg to a patched version or avoid decoding untrusted Hap files until the update is applied.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS