CVE-2025-71476
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2025-71476 NameCVE-2025-71476 DescriptionFFmpeg 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.…
CVE-2025-71476
| Name | CVE-2025-71476 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | vulnerable |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | vulnerable | |
| forky | 7:9.0.2-6 | fixed | |
| sid | 7:9.1-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | (unstable) | 7:8.1-1 |
Notes
[trixie] - ffmpeg <postponed> (Wait until fixed in 7.1.x upstream branch)
https://trac.ffmpeg.org/ticket/11652
Fixed by: https://github.com/FFmpeg/FFmpeg/commit/76827a6f3bdc908a52b6f534c5b668e8e5f781b9 (n8.1)
Apply commands
[trixie] - ffmpeg <postponed> (Wait until fixed in 7.1.x upstream branch)https://trac.ffmpeg.org/ticket/11652Fixed by: https://github.com/FFmpeg/FFmpeg/commit/76827a6f3bdc908a52b6f534c5b668e8e5f781b9 (n8.1)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | ffmpeg |
Affected | — |
| sid | ffmpeg |
Fixed | 7:8.1-1 |
| forky | ffmpeg |
Fixed | 7:8.1-1 |
| bookworm | ffmpeg |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ffmpeg | ffmpeg | {"startIncluding":"7.1","endExcluding":"8.1"} | 8.1 |
References
- https://github.com/FFmpeg/FFmpeg/blob/n8.0.3/libavcodec/hevc/hevcdec.c#L3546-L3551
- https://github.com/FFmpeg/FFmpeg/commit/76827a6f3bdc908a52b6f534c5b668e8e5f781b9
- https://github.com/FFmpeg/FFmpeg/releases/tag/n8.1
- https://trac.ffmpeg.org/ticket/11652
- https://www.vulncheck.com/advisories/ffmpeg-7.1-before-8.1-null-pointer-dereference-via-hevc-slice-segment-state
- https://www.suse.com/security/cve/CVE-2025-71476.html
- https://security-tracker.debian.org/tracker/CVE-2025-71476
CWEs
CWE-476
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.