FFmpeg 7.1 before 8.1 NULL Pointer Dereference via HEVC Slice Segment State
CVE-2025-71476Published 29 Nov 2026, 13:24 UTC
Real-world risk
1.2/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| FFmpegWidespread | >= 7.1, < 8.1 | 8.1 |
What to do
Update to a fixed version: 8.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 24), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.35 × threat 0.851.190
- Rounded to one decimal between 0.1 and 101.2
Exploitation and evidence timeline
- 29 Nov 2026 Published
- 3 Dec 2026 Risk 1.2 (cvss fallback)
Weakness
CWE-476
References
- https://trac.ffmpeg.org/ticket/11652issue-tracking
- https://github.com/FFmpeg/FFmpeg/commit/76827a6f3bdc908a52b6f534c5b668e8e5f781b9patch
- https://github.com/FFmpeg/FFmpeg/blob/n8.0.3/libavcodec/hevc/hevcdec.c#L3546-L3551technical-description
- https://github.com/FFmpeg/FFmpeg/releases/tag/n8.1release-notes
- https://www.vulncheck.com/advisories/ffmpeg-7.1-before-8.1-null-pointer-dereference-via-hevc-slice-segment-statethird-party-advisory
- CVE-2025-71476 on CVE.org