CVE-2025-71476
FFmpeg 7.1 before 8.1 contains a NULL pointer dereference …
FFmpeg 7.1 before 8.1 contains a NULL pointer dereference vulnerability in decode_slice() in libavcodec/hevc/hevcdec.c that leaves a stale slice_initialized flag after early returns. Attackers can supply a crafted HEVC stream whose dependent slice segment decodes against inconsistent state, crashing hls_prediction_unit() and causing denial of service.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/FFmpeg/FFmpeg/blob/n8.0.3/libavcodec/hevc/hevcdec.c#L3546-L3551
- github.com/FFmpeg/FFmpeg/commit/76827a6f3bdc908a52b6f534c5b668e8e5f781b9
- github.com/FFmpeg/FFmpeg/releases/tag/n8.1
- trac.ffmpeg.org/ticket/11652
- www.vulncheck.com/advisories/ffmpeg-7.1-before-8.1-null-pointer-dereference-via-hevc-slice
- nvd.nist.gov/vuln/detail/CVE-2025-71476
- cve.org/CVERecord?id=CVE-2025-71476
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.