Skip to main content

FFmpeg CVE-2026-135729

| EUVDEUVD-2026-133620 MEDIUM
XML Injection (aka Blind XPath Injection) (CWE-91)
2026-11-24 VulnCheck GHSA-85g7-rfmm-8wgh
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 WebM with malicious track language
  2. Delivery
    Victim runs FFmpeg webm_dash_manifest muxer
  3. Exploit
    Unescaped lang breaks AdaptationSet lang attribute
  4. Execution
    Inject attributes/elements into MPD
  5. Impact
    Control segment URLs served to players

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization XPath query parameterization
Exploitation Conditions

Exploitation requires that FFmpeg be used specifically with the WebM DASH manifest muxer (-f webm_dash_manifest) to generate an MPD, and that an input WebM track carry an attacker-controlled language tag containing quote or angle-bracket characters; the operator must process the untrusted file. Limiting factors: the CVSS vector is AV:L with UI:P, so the attacker cannot trigger this remotely on their own - a victim must run the specific muxer over attacker-supplied input, which is not part of typical transcode/playback workflows; impact is confined to integrity of the generated manifest (VI:L, no confidentiality or availability), and is fully resolved only by updating to FFmpeg 9.1 or applying the escaping commit.

Impact

This is a low-to-moderate priority issue (CVSS 4.0 base 4.8, Medium) that signals should not be treated as an emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N) points to a local attack vector requiring passive user interaction, with no confidentiality or availability impact and only low integrity impact - consistent with an output-encoding flaw that corrupts a generated manifest rather than compromising the host. The vuln.today decision label is 'this_month', which aligns with the modest technical impact: schedule the FFmpeg update in the normal patch cycle, not out-of-band. No KEV listing and no EPSS score were provided in the input, and no exploit code is referenced (the linked FFmpeg pull request and commit are the fix, not a weaponized PoC), so there is no evidence of active or imminent exploitation. The main caveat is reach: the injected content 'controls segment URLs and representations in generated MPD manifests', meaning the real-world risk lands on downstream consumers of those manifests (DASH players/CDNs) rather than on the machine running FFmpeg - a second-order integrity concern the base CVSS does not fully capture. Net: a genuine but narrow injection bug, not a high-urgency item.

Exploit ScenarioDerived

An attacker crafts a WebM file whose track language metadata contains quotes or angle brackets and gets a victim pipeline to generate a DASH MPD from it using FFmpeg's webm_dash_manifest muxer. Because the lang value is written into the AdaptationSet lang attribute without XML escaping, the crafted string breaks out of the attribute and injects attacker-controlled attributes or elements, letting the attacker influence segment URLs and representations in the published manifest. No public exploit identified at time of analysis; the referenced links are the vendor fix, not working exploit code.

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

XML injection in FFmpeg's WebM DASH manifest muxer (libavformat/webmdashenc.c) affects all versions before 9.1: a crafted WebM track whose language metadata contains quote or angle-bracket characters is written verbatim into the AdaptationSet lang attribute, letting the attacker break out of the attribute and inject additional attributes or elements into the generated MPD. Only deployments that explicitly run the webm_dash_manifest muxer over untrusted input are exposed, and the consequence is limited to integrity of the produced manifest (CVSS 4.0 base 4.8, Medium; VI:L with no confidentiality or availability impact). No public exploit code was identified at time of analysis and there is no KEV entry; the vector is AV:L/PR:N/UI:P, so the victim operator must process the attacker-supplied file and generate the manifest for the flaw to matter.

RemediationAI

Upgrade to FFmpeg 9.1, which contains the XML-escaping fix, or backport the upstream commit bc2316e2d1dcc3a6687b7d46a3ed6bae42b8a9ba (https://github.com/FFmpeg/FFmpeg/commit/bc2316e2d1dcc3a6687b7d46a3ed6bae42b8a9ba), which routes the track language through av_escape() with AV_ESCAPE_MODE_XML and AV_ESCAPE_FLAG_XML_DOUBLE_QUOTES before it is written into the AdaptationSet lang attribute; distribution packagers should pull their vendor's rebuilt FFmpeg packages rather than recompiling in place. If an immediate upgrade is not possible, stop passing untrusted WebM files to the webm_dash_manifest muxer (-f webm_dash_manifest) - the trade-off is that legitimate DASH packaging of external content must move to a trusted or isolated host. A second compensating control is to sanitize or reject track language tags containing quotes, angle brackets or ampersands before muxing, but this only covers the metadata channel and not other unescaped fields in the same writer, so it should be treated as a stopgap. Finally, validate generated MPDs (for example by parsing them with a strict XML parser and comparing the element set against the expected AdaptationSet/Representation structure) before publishing them to CDNs or players, which catches injected attributes and elements but adds a processing step to the packaging pipeline. Because the vector is local with user interaction and impact is limited to manifest integrity, this is not an emergency patch item, but the fix should be scheduled in the current monthly maintenance window.

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 flaw is a classic CWE-91 (XML injection) caused by string concatenation into a serialized document rather than by an XML-aware writer. In write_adaptation_set(), the muxer formats the track's language metadata directly with avio_printf(pb, " lang=\"%s\"", lang->value) into the AdaptationSet element of a DASH MPD; because no escaping is applied, a language value containing a double quote or angle brackets terminates the attribute early and allows extra attributes or child elements (for example BaseURL or additional Representation entries) to be spliced into the manifest, steering segment URLs and representation selection for any consumer of that MPD. The vulnerable code path is present at libavformat/webmdashenc.c line 337 in the n9.0.2 source tree referenced by the advisory. The upstream fix commit bc2316e2d1dcc3a6687b7d46a3ed6bae42b8a9ba replaces the raw format string with av_escape(..., AV_ESCAPE_MODE_XML, AV_ESCAPE_FLAG_XML_DOUBLE_QUOTES) and frees the escaped buffer, so quotes and markup in the language tag are rendered inert. The trigger requires use of the webm_dash_manifest muxer specifically; ordinary decode, transcode and playback paths do not invoke this code, and the assessment does not describe any memory-safety consequence - impact is confined to the integrity of the manifest that FFmpeg emits.

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:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Requires an operator to run the webm_dash_manifest muxer on an attacker-supplied file, so AV:L and UI:R; impact is integrity-only on the generated manifest (I:L), no confidentiality or availability loss.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/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
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg before 9.1 contains an XML injection vulnerability in write_adaptation_set() in libavformat/webmdashenc.c that writes stream language metadata unescaped into the AdaptationSet lang attribute. Attackers can supply crafted WebM files whose track language contains quotes or angle brackets to inject attributes or elements, controlling segment URLs and representations in generated MPD manifests.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
FFmpeg is ubiquitous, though the WebM-DASH manifest muxer path is rarely used
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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