
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-71476 is a NULL pointer dereference vulnerability in FFmpeg's HEVC decoder that causes denial of service when processing crafted video streams. The flaw exists in decode_slice() within libavcodec/hevc/hevcdec.c, where a stale slice_initialized flag is left set after early returns, allowing dependent slice segments to decode against inconsistent state and crash hls_prediction_unit(). It affects FFmpeg versions 7.1 through 8.0.x (fixed in 8.1). The vulnerability carries a CVSS v3.1 score of 5.5 (Medium) and a CVSS v4.0 score of 6.8 (Medium) (Github Advisory, Feedly).
The root cause is classified as CWE-476 (NULL Pointer Dereference). In the vulnerable code path, decode_slice() calls hls_slice_header() and only resets s->slice_initialized to 0 on failure of that specific function. If decode_slice() returns early for any other reason before decode_slice_data() is called to reinitialize the decoder context, the slice_initialized flag remains set, falsely indicating a valid prior slice. A subsequent dependent slice segment then proceeds to use this inconsistent state, triggering a NULL pointer dereference (segmentation fault) in hls_prediction_unit(). The fix, applied in commit 76827a6, moves the s->slice_initialized = 0 assignment to immediately after hls_slice_header() is called — regardless of success or failure — ensuring the flag is always cleared until the context is fully reinitialized (FFmpeg Commit, Github Advisory).
Successful exploitation results in a crash of the FFmpeg decoder process, causing a denial of service. There is no impact on confidentiality or integrity — the vulnerability is limited to availability. Any application or service that uses FFmpeg 7.1–8.0.x to process untrusted or user-supplied HEVC video content is at risk, including media servers, transcoding pipelines, and video players (Github Advisory, Feedly).
There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure. The vulnerability requires user interaction (a user or process must open/process the crafted HEVC file) and has a local attack vector, limiting its exploitability. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Github Advisory, Feedly).
decode_slice() to return early (after hls_slice_header() succeeds but before decode_slice_data() completes), leaving slice_initialized set to a non-zero value in an inconsistent state.slice_initialized check in hls_slice_header() and proceed to decode using the corrupted context.hls_prediction_unit() dereferences a NULL pointer, causing a segmentation fault and crashing the FFmpeg process (FFmpeg Commit, Github Advisory).hls_prediction_unit() or decode_slice() in libavcodec/hevc/hevcdec.c; error messages such as "Independent slice segment missing." in FFmpeg output logs prior to a crash..hevc, .mp4, .mkv, or .ts files with unusual or malformed HEVC slice structures in directories processed by FFmpeg-based services.The primary remediation is to upgrade FFmpeg to version 8.1 or later, which includes the fix in commit 76827a6 (FFmpeg Release n8.1). As a workaround where upgrading is not immediately possible, restrict FFmpeg-based services from processing untrusted or externally supplied HEVC video files, and implement input validation to reject malformed HEVC streams before they reach the decoder. Monitoring for unexpected FFmpeg process crashes can help detect exploitation attempts (Github Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."