Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious NIST SPHERE file
-
DeliveryDeliver file to FFmpeg processing pipeline
-
ExploitDemuxer parses pcm,embedded-shorten coding
-
ExecutionInverted alloc check leaves extradata byte uninitialized
-
ImpactLeak heap byte into output or NULL-write crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
|
| Exploitation Conditions | Exploitation requires the affected FFmpeg build (before 9.1) to parse a NIST SPHERE (.nist/.sph) file that specifically declares 'pcm,embedded-shorten' sample coding - this exact coding string in the header is the trigger that reaches the vulnerable extradata allocation path in nist_read_header(). The victim must actively process the attacker-supplied file (UI:P / local vector, AV:L), so delivery depends on a pipeline, upload handler, or user opening the file; there is no remote unauthenticated network trigger. The information-leak path exposes only a single uninitialized heap byte into copied output, and the NULL pointer write path is further gated on an allocation failure occurring, which an attacker cannot reliably control - both of which materially limit real-world impact. |
| Impact | This is a genuinely low-to-moderate priority issue, not a high-severity emergency. The CVSS 4.0 base score is 4.8 (Medium) with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N, meaning the attacker must get a victim to process a locally-delivered malicious file (local attack vector plus passive user interaction), and the realized impact is limited: a single uninitialized heap byte leaked into output, plus a conditional NULL pointer write only on memory-allocation failure. The vuln.today decision label is 'this_month' (routine patching cadence), consistent with the low impact. No EPSS score was supplied, and there is no CISA KEV listing - so this is no public exploit identified at time of analysis; the provided references are all patch/fix artifacts (the FFmpeg PR #24914 and the fixing commit), not weaponized exploit code. Signals are internally consistent: a low-impact uninitialized-memory bug (CWE-908) in a file demuxer, patched upstream, reported by VulnCheck, with no evidence of active exploitation. The main caveat is the DoS tag versus the primary info-leak mechanism (see data notes) - the crash path is real but gated on allocation failure, which an attacker cannot reliably force. |
| Exploit ScenarioDerived | An attacker crafts a NIST SPHERE audio file whose header declares 'pcm,embedded-shorten' coding and induces a target to process it with FFmpeg (e.g., a media-conversion pipeline, upload transcoder, or desktop player). Because the extradata allocation check was inverted, an uninitialized heap byte is copied into the output, potentially leaking a byte of adjacent heap memory; on an allocation failure the same path instead performs a NULL pointer write, crashing the process. No public exploit code is identified, and exploitation requires the victim to actually ingest the file (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
FFmpeg builds before 9.1 can copy a single uninitialized heap byte into decoder output when the NIST SPHERE demuxer parses a crafted .sph/.nist file that declares 'pcm,embedded-shorten' sample coding; the same inverted allocation check also permits a NULL pointer write if ff_alloc_extradata() fails. The flaw is local and user-assisted (CVSS 4.0: 4.8, AV:L/UI:P; independently assessed CVSS 3.1: AV:L/AC:L/PR:N/UI:R/C:L), so the victim - or an automated media pipeline - must actually process the attacker-supplied file, and realistic impact is limited to a one-byte information leak with a crash path gated on an allocation failure the attacker cannot reliably force. No public exploit code has been identified at time of analysis, the issue is not in CISA KEV, and the vendor fix is already available; the vuln.today priority label is this_month.
RemediationAI
Vendor-released patch: FFmpeg 9.1 - upgrading to 9.1 or later resolves the issue, and distributors should backport commit 8e5dd5c728e4f49aad2dfb3852e05375d4a0fa12 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914), which replaces the inverted check with a proper negative-return test before initializing the single extradata byte. Because the trigger is confined to headers declaring 'pcm,embedded-shorten' and requires the target to actively parse an attacker-supplied .sph/.nist file, environments that cannot immediately rebuild can reduce exposure by preventing untrusted NIST SPHERE content from reaching FFmpeg-based parsers (upload validation, media-pipeline input allowlists, or removing the nistsphere demuxer from custom builds), accepting that this removes legitimate SPHERE/Shorten ingest until the patched release is deployed. Confirm the fixed build by checking that libavformat reports version 9.1 or later; the upstream repository at https://github.com/FFmpeg/FFmpeg is the authoritative source for the merged change.
Affected VersionsENISA
Affected Packages
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 affected code lives in libavformat/nistspheredec.c, the demuxer for NIST SPHERE audio headers. When the header's sample-coding field specifies 'pcm,embedded-shorten', nist_read_header() allocates one byte of codec extradata via ff_alloc_extradata() and is supposed to set that byte to 1 to flag the embedded Shorten stream. The original code read if (ff_alloc_extradata(st->codecpar, 1)) st->codecpar->extradata[0] = 1;, which inverts the FFmpeg convention that the helper returns 0 on success and a negative AVERROR on failure: the conditional body therefore ran only after a failed allocation (writing through a NULL extradata pointer) and was skipped on success, leaving the freshly allocated heap byte uninitialized so it is later copied into output. This is CWE-908 (Use of Uninitialized Resource) rather than a bounds or lifetime bug, and the trigger is specifically the 'pcm,embedded-shorten' coding string parsed from an attacker-supplied container header. The upstream fix (commit 8e5dd5c728e4f49aad2dfb3852e05375d4a0fa12, PR 24914) captures the return value, propagates negatives with if (ret < 0) return ret;, and only then assigns extradata[0] = 1.
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Attacker-supplied file parsed by the victim gives AV:L/UI:R/PR:N; impact is a single uninitialized heap byte leak (C:L), with the conditional NULL-write crash too alloc-dependent to credit as A.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg before 9.1 contains an uninitialized memory vulnerability in nist_read_header() in libavformat/nistspheredec.c, where an inverted ff_alloc_extradata() return check leaves the embedded-shorten extradata byte uninitialized. Attackers can supply a crafted NIST SPHERE file declaring pcm,embedded-shorten coding to leak an uninitialized heap byte into copied output or trigger a NULL pointer write on allocation failure.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in FFmpeg libavformat Memory and Input Validation Flaws
View all 9FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-133642
GHSA-ggc6-jhhv-84qh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB