CVE Catalog

CVE-2026-125174

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Summary

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a NULL pointer dereference vulnerability in ff_hap_set_chunk_count() in libavcodec/hap.c, where a shadowed return variable masks reallocation failures. Attackers can supply a crafted Hap video frame with an oversized chunk count so the decoder writes through a NULL chunk table, crashing the application.

Risk Assessment

May cause crashes in video processing applications, leading to denial of service.

Recommendation

Update FFmpeg to version 8.1.3 or 9.0.2 (or later) or avoid decoding untrusted Hap files until updated.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a NULL pointer dereference vulnerability in ff_hap_set_chunk_count() in libavcodec/hap.c, where a shadowed return variable masks reallocation failures. Attackers can supply a crafted Hap video frame with an oversized chunk count so the decoder writes through a NULL chunk table, crashing the application.

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