CVE-2025-71476

FFmpeg 7.1 before 8.1 NULL Pointer Dereference via HEVC Slice Segment State

Published Nov 29, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

FFmpeg versions 7.1 through 7.1‑8.0 contain a null pointer dereference in the HEVC slice decoder; a crafted HEVC stream can trigger an early return that leaves a stale slice_initialized flag and causes the decoder to crash in hls_prediction_unit(), resulting in a denial of service to the process that decodes the stream. The weakness is a classic NULL pointer dereference (CWE‑476).

Affected Systems

The vulnerability affects the FFmpeg multimedia framework, specifically the FFmpeg 7.1 release up to, but not including, 8.1. Any deployment using this range of FFmpeg binaries is susceptible when HEVC streams are processed.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. EPSS data is unavailable and the issue is not listed in CISA KEV. Attackers are likely to leverage the flaw by delivering malicious HEVC content, either via a network stream, a local media file, or a remote HTTP Live Streaming feed, to force the decoder to crash. Exploitation requires only the presence of the vulnerable FFmpeg binary and a crafted stream; no elevated privileges are needed. The resulting denial of service is local to the process running the decoder and could impact services that rely on FFmpeg for media processing.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FFmpeg 8.1 or later, which removes the null pointer dereference in the HEVC slice decoder.
  • If an upgrade is not immediately feasible, disable HEVC decoding or restrict the decoder to trusted input only to avoid processing malformed streams.
  • Implement monitoring of FFmpeg process crashes or untrusted HEVC traffic, and apply the patch as soon as possible.

Generated by OpenCVE AI on November 29, 2026 at 14:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title FFmpeg 7.1 before 8.1 NULL Pointer Dereference via HEVC Slice Segment State
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-476
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 30, 2026, 2:31 PM
Reserved
Nov 29, 2026, 1:09 PM
Status
Awaiting Analysis
Published
Nov 29, 2026, 2:16 PM
Modified
Nov 30, 2026, 3:17 PM
Severity
Moderate
Public date
Nov 29, 2026, 1:24 PM