FFmpeg NULL pointer dereference in AAC decoder
- Exploited
- No known exploitation
- Fix
- Fixed in 7.1.2
- Who is exposed
- Specific setups only
Summary
FFmpeg has a NULL pointer dereference in its AAC decoder that a local attacker can trigger without logging in, by supplying a crafted MP4 file that a user must open. The flaw crashes applications that use libavcodec.
Written by a model
Original description
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.
Who should check
Teams running FFmpeg 7.1.x (before 7.1.2) or libavcodec applications that decode untrusted MP4 files
“Affecting FFmpeg >= 7.1, < 7.1.2”
What to do
Check whether your setup matches what the bug needs.
FFmpeg 7.1 before 7.1.2 (affecting FFmpeg >= 7.1, < 7.1.2) Decoding an MP4 file with a malformed USAC audio configuration during AAC USAC decoder initializationUpgrade to a fixed version: 7.1.2.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2025-71475 (FFmpeg 7.1 before 7.1.2 NULL Pointer Dereference via AAC USAC Decoder Initialization), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2025-71475 (entry last updated 2026-11-29):
Affected:
- FFmpeg FFmpeg: from 7.1, fixed in 7.1.2
Fixed versions: 7.1.2.
Vendor patches: fcf180d9ea27b7dc29658c9dc3488ae6fac3ebd9 (source: https://www.vulncheck.com/advisories/ffmpeg-7.1-before-7.1.2-null-pointer-dereference-via-aac-usac-decoder-initialization). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- FFmpeg 7.1 before 7.1.2 (affecting FFmpeg >= 7.1, < 7.1.2) (source: https://www.vulncheck.com/advisories/ffmpeg-7.1-before-7.1.2-null-pointer-dereference-via-aac-usac-decoder-initialization)
- Decoding an MP4 file with a malformed USAC audio configuration during AAC USAC decoder initialization (source: https://www.vulncheck.com/advisories/ffmpeg-7.1-before-7.1.2-null-pointer-dereference-via-aac-usac-decoder-initialization)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2025-71475 is not listed as of cve.now's last read.
This KEV status is for CVE-2025-71475 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/FFmpeg/FFmpeg/commit/fcf180d9ea27b7dc29658c9dc3488ae6fac3ebd9
- https://github.com/FFmpeg/FFmpeg/commit/10c774906cdbb1e695f7b17791fae759396f65e9
- https://trac.ffmpeg.org/ticket/11639
- https://github.com/FFmpeg/FFmpeg/blob/n7.1.1/libavcodec/aac/aacdec.c#L195
- https://github.com/FFmpeg/FFmpeg/releases/tag/n7.1.2
- https://www.vulncheck.com/advisories/ffmpeg-7.1-before-7.1.2-null-pointer-dereference-via-aac-usac-decoder-initialization
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2025-71475
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2025-71475"}.Affected versions
- FFmpeg FFmpegFrom 7.1 · fixed in 7.1.2
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity6.8/10CVSS 6.8
- No patch0/5No signal
What would change the score
- Would score about 62 if added to CISA KEV
- Would score about 57 if CISA's SSVC rates exploitation active
- Would score about 22 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2025-71475 |
| Record | NVD · CVE-2025-71475 |
| Write-ups 1Establishes: Technical detail and context. | |
| Report | trac.ffmpeg.org · ticket/11639 |
| Other links 5 | |
| Patch | GitHub · FFmpeg/FFmpeg · Commit fcf180d9 |
| Patch | GitHub · FFmpeg/FFmpeg · Commit 10c77490 |
| Repository | GitHub · FFmpeg/FFmpeg · libavcodec/aac/aacdec.c · L195 |
| Repository | GitHub · FFmpeg/FFmpeg · Release n7.1.2 |
| Link | vulncheck.com · advisories/ffmpeg-7.1-before-7.1.2-null-pointer-dereference-via-aac-usac-decoder-initialization |
Questions about CVE-2025-71475
Is CVE-2025-71475 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
Decoding an MP4 file with a malformed USAC audio configuration can trigger a NULL pointer dereference during AAC USAC decoder initialization. The crash takes down applications that use libavcodec, which is a denial of service.
Source: vulncheck.com
Which versions are affected by CVE-2025-71475?
FFmpeg: from 7.1 before 7.1.2.
Source: cve.now feed data
Am I affected, and how do I check?
FFmpeg 7.1 releases before 7.1.2 are affected, meaning versions from 7.1 up to but not including 7.1.2. To check, run ffmpeg -version and compare the version number against that range.
Source: vulncheck.com
How do I fix CVE-2025-71475?
Upgrade FFmpeg to 7.1.2 or later, which contains the fix (commit fcf180d9ea27b7dc29658c9dc3488ae6fac3ebd9).
Source: vulncheck.com
Related
- CVE-2026-137907FFmpeg 3.0 before 8.1.3 Heap Buffer Overflow via boxblur Filter
- CVE-2026-135706FFmpeg before 9.1 Heap Buffer Overflow via libmodplug Demuxer
- CVE-2026-135709FFmpeg before 9.1 Out-of-Bounds Write via ogg_buffer_data() in oggenc.c
- CVE-2026-135705FFmpeg before 9.1 Stack Out-of-Bounds Read via ff_h264_parse_framesize()
- CVE-2026-135712FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()
- CVE-2025-71476FFmpeg 7.1 before 8.1 NULL Pointer Dereference via HEVC Slice Segment State
No corrections so far. Something wrong on this page? Report an error.