[ CVE-2026-125174 · Published 9 Nov 2026 ]
Vulnerability in FFmpeg
[ Description ]Official description
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.
[ Fixes ]How to fix it
Fixed versions
- FFmpeg: upgrade to 8.1.3 or laterEarlier versions are listed as affected
- FFmpeg: upgrade to 9.0.2 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Patchgithub.com
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-4419
ffmpeg: Multiple vulnerabilities Translated from German