Home › Vulnerabilities › FFmpeg
Two Medium-Severity NULL Pointer Flaws in FFmpeg's HEVC and AAC Decoders
Two FFmpeg 7.1-series flaws, both rated MEDIUM (CVSS 6.8), can be triggered by crafted media files and crash the software. The records describe denial of service and do not mention code execution or active exploitation.
What to look into
- 2 vulnerabilities in FFmpeg: 2 medium (CVSS up to 6.8).
- None of them is known to be exploited yet.
- Start with CVE-2025-71476 (6.8 medium): 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 supp… An attacker without an account can exploit this with local access if a user views or visits something.
- 0 of 2 can be attacked over the network without logging in.
- Kinds of flaws: NULL Pointer Dereference (×2).
Key points
- CVE-2025-71476 (HEVC decoder, decodeslice()) affects FFmpeg 7.1 before 8.1 and can crash via a crafted HEVC stream.
- CVE-2025-71475 (AAC/USAC decoder) affects FFmpeg 7.1 before 7.1.2 and can crash libavcodec-based applications via a crafted MP4 file.
- Both are rated MEDIUM (CVSS 6.8) and described as denial of service.
- The records do not report exploitation or give a workaround.
Two medium-severity flaws in FFmpeg, the multimedia framework used by media tools and applications, were published together on 2026-11-29. Both are NULL pointer dereferences that can crash the software. Neither record reports code execution, data theft, or active exploitation.
CVE-2025-71476 (CVSS 6.8) affects FFmpeg 7.1 before 8.1. It lies in the HEVC decoder, in the decodeslice() function in libavcodec/hevc/hevcdec.c. According to the record, a crafted HEVC stream can leave a stale sliceinitialized flag after early returns. A dependent slice segment then decodes against inconsistent state and crashes hlspredictionunit(). The record describes the impact as denial of service.
CVE-2025-71475 (CVSS 6.8) affects FFmpeg 7.1 before 7.1.2. It sits in the AAC decoder, in libavcodec/aac/aacdec.c, during initialization of USAC configurations. A crafted MP4 file with a malformed USAC audio configuration can cause frameconfigureelements() to write to a NULL ac->frame. The record says this crashes applications that use libavcodec.
Both issues are triggered by supplying crafted media files, so the concern is mainly for systems that decode files from untrusted sources. The records do not describe a workaround or detection method, so the fixed versions they name are the only remediation they support.
What to do
- Update FFmpeg 7.1 builds to 7.1.2 or later to address CVE-2025-71475.
- Update FFmpeg builds from 7.1 onward to 8.1 or later to address CVE-2025-71476.
The 2 vulnerabilities
- CVE-2025-71476 6.8 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…
- CVE-2025-71475 6.8 FFmpeg 7.1 before 7.1.2 contains a NULL pointer dereference vulnerability in the AAC decoder in libavcodec/aac/aacdec.c when initializing USAC configurations. Attackers can supply a crafted MP4 file with a malformed USAC audio configuratio…
Frequently asked questions
How many FFmpeg vulnerabilities were published on November 29, 2026?
2 vulnerabilities: 2 medium, with CVSS scores up to 6.8.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2025-71476 (CVSS 6.8): 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 supp…