Skip to main content

FFmpeg EUVDEUVD-2026-133642

| CVE-2026-135707 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-11-24 VulnCheck GHSA-ggc6-jhhv-84qh
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious NIST SPHERE file
  2. Delivery
    Deliver file to FFmpeg processing pipeline
  3. Exploit
    Demuxer parses pcm,embedded-shorten coding
  4. Execution
    Inverted alloc check leaves extradata byte uninitialized
  5. Impact
    Leak 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).

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 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

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
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
vuln.today AI 3.3 LOW

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.

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

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
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg is the de-facto media library embedded across countless servers, apps, and pipelines
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub

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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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

Vendor StatusVendor

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