Skip to main content

FFmpeg CVE-2025-71475

| EUVDEUVD-2025-211377 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-29 VulnCheck GHSA-jv46-q485-cvp4
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted MP4 to victim
  2. Delivery
    Application feeds file to libavcodec
  3. Exploit
    USAC config init triggers NULL deref
  4. Execution
    frame_configure_elements writes to NULL frame
  5. Impact
    Process crash (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application pass an attacker-controlled MP4 file containing a malformed USAC (xHE-AAC) audio configuration to libavcodec's AAC decoder, specifically hitting the USAC configuration initialization path in libavcodec/aac/aacdec.c. The crash occurs during normal decoding of such a file, so no special non-default FFmpeg configuration is stated as required. Limiting factors per the CVSS 4.0 vector: the vector is Local (AV:L) and requires passive user interaction (UI:P) - a victim or automated pipeline must process the crafted file - and the impact is confined to availability (process crash); there is no confidentiality or integrity impact and no path to code execution in the available data. Affected versions are FFmpeg 7.1 up to but not including 7.1.2; updating to 7.1.2 is the fix the vendor provides.

Impact

This is a denial-of-service-only flaw whose real-world priority is moderate, not urgent. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) tells a consistent story: impact is limited to availability (VA:H) with no confidentiality or integrity effect, and the attack vector is Local with Passive user interaction, meaning a victim must open or process an attacker-supplied file rather than the attacker reaching the decoder directly over a network. No EPSS score, KEV entry, or SSVC exploitation decision was provided in the input, and there is no public exploit identified at time of analysis - only a bug-tracker ticket, the vendor advisory, and the fix commits. The vuln.today priority label is 'this_month,' which aligns with a patchable DoS rather than an emergency. The main thing that elevates this above a routine library crash is reach: libavcodec is embedded in an enormous number of applications and pipelines, so a crash primitive in default AAC/USAC decoding affects a very large installed base even though the consequence is only a crash. Treat as a scheduled-patch item; there is no signal of active exploitation and no code-execution path in the available data.

Exploit ScenarioDerived

An attacker crafts an MP4 file containing a malformed USAC audio configuration and delivers it to a victim (download, email attachment, or a server-side transcoding/thumbnailing pipeline that ingests user-supplied media). When the application decodes the file with libavcodec, frame_configure_elements() writes to a NULL ac->frame and the process crashes. No public working exploit is identified at time of analysis, though the root cause and fix are fully documented in the upstream commits.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

NULL pointer dereference in FFmpeg 7.1 through 7.1.1 lets a crafted MP4 file crash any application that decodes it with libavcodec's AAC decoder. When a malformed USAC (xHE-AAC) audio configuration is initialized, frame_configure_elements() writes through ac->frame while that pointer is still NULL, terminating the host process; only availability is impacted, with no confidentiality or integrity loss and no code execution path in the available data. The CVSS 4.0 score is 6.8 (AV:L/UI:P, availability-only), the decision label is this_month, and no public exploit code was identified at time of analysis; unauthenticated attackers are implied by PR:N, but a victim or automated pipeline must process the file.

RemediationAI

Vendor-released patch: FFmpeg 7.1.2 (release tag n7.1.2). Upgrade any affected 7.1.x build to 7.1.2 or later, or apply the upstream commits fcf180d9ea27b7dc29658c9dc3488ae6fac3ebd9 and 10c774906cdbb1e695f7b17791fae759396f65e9, which make ff_aac_output_configure() return AVERROR_INVALIDDATA instead of dereferencing a NULL ac->frame. Rebuild dependent applications and media stacks against the patched libavcodec; the fixed release is at https://github.com/FFmpeg/FFmpeg/releases/tag/n7.1.2 and the defect is tracked at https://trac.ffmpeg.org/ticket/11639. Until the upgrade is deployed, isolate decoding of untrusted MP4 files - for example by running the decoder in a separate worker process that can be restarted on crash - since the only confirmed impact is process termination and no confidentiality or integrity loss is described.

Affected VersionsENISA

FFmpeg 7.1 <7.1.2

Affected Packages

euvd ffmpeg fix: 7.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-476 NULL pointer dereference in FFmpeg's AAC decoding stack, in libavcodec/aac/aacdec.c. During initialization of a USAC (Unified Speech and Audio Coding, marketed as xHE-AAC) configuration, the decoder reaches frame_configure_elements(), which dereferences ac->frame before that frame context has been allocated. A crafted MP4 carrying a malformed USAC audio configuration drives the decoder into that path, so the fault occurs while parsing/initializing the stream rather than through any post-exploitation primitive. The upstream fix commit fcf180d9ea27b7dc29658c9dc3488ae6fac3ebd9 adds a guard in ff_aac_output_configure() that returns AVERROR_INVALIDDATA when get_new_frame is set and ac->frame is NULL, causing the malformed stream to be rejected instead of dereferenced; the referenced code anchor in n7.1.1 (aacdec.c line 195) shows the pre-fix state. The vulnerability class and the affected code path are described in the sources; the precise malformed bitstream fields required to reach the faulty state are not detailed in the available evidence beyond the malformed USAC configuration.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

File-parsing bug needing a victim to process a crafted MP4, so AV:L and UI:R; no auth needed (PR:N); impact is a crash only, so A:H with C:N/I:N.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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 configuration that causes frame_configure_elements() to write to a NULL ac->frame, crashing applications using libavcodec.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
libavcodec/FFmpeg is embedded in a huge fraction of media-handling software
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy