Home › CVE › Vulnerabilities
CVE-2025-71476 — FFmpeg
One of 2 FFmpeg vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.8
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-476: NULL Pointer Dereference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≥ 7.1, < 8.1 | 8.1 |
References by type
Patches and fixed releases
- github.com/FFmpeg/FFmpeg/commit/76827a6f3bdc908a52b6f534c5b668e8e5f781b9
- github.com/FFmpeg/FFmpeg/releases/tag/n8.1
Other references
Affected
- FFmpeg
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2025-71476?
FFmpeg 7.1 before 8.1 contains a NULL pointer dereference vulnerability in decodeslice() in libavcodec/hevc/hevcdec.c that leaves a stale sliceinitialized flag after early returns. Attackers can supply a crafted HEVC stream whose dependent slice segment decodes against inconsistent state, crashing hlspredictionunit() and causing denial of service. Weakness type: NULL Pointer Dereference (CWE-476).
How severe is CVE-2025-71476?
CVE-2025-71476 has a CVSS 4.0 base score of 6.8 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2025-71476 being exploited?
Not as far as is known: CVE-2025-71476 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2025-71476?
FFmpeg ≥ 7.1, < 8.1 (fixed in 8.1).
How do I fix CVE-2025-71476?
Update to a fixed release: FFmpeg 8.1.