home / blog

2026-11-24 · low

XML Injection in FFmpeg <v9.1 (CVE-2026-135729)

FFmpeg XML injection vulnerability allows MPD manifest manipulation via crafted WebM files.

XML Injection in FFmpeg <v9.1 (CVE-2026-135729)

CVE-2026-135729 is an XML injection vulnerability affecting FFmpeg versions before 9.1. The flaw is located in the webmdashenc.c component that generates MPD manifests for WebM streaming, allowing attackers to manipulate segment URLs through crafted WebM files containing unescaped special characters.

The vulnerability has a CVSS score of 3.3, classified as low severity. It was officially published on 11/24/2026 and also reported on GitHub, where technical details of the fix implemented in version 9.1 are documented. No active exploits have been reported at this time.

To defend against this vulnerability, it is crucial to update FFmpeg to version 9.1 or later. For systems that cannot be immediately updated, it is recommended to thoroughly validate all incoming WebM files before processing, implementing filters for dangerous characters such as quotes and angle brackets.

At a glance

What
XML injection vulnerability in write_adaptation_set() function in libavformat/webmdashenc.c that writes stream language metadata unescaped into the lang attribute of AdaptationSet.
Severity
Low (CVSS 3.3)
Affected versions
FFmpeg versions before 9.1
Fix
Update to FFmpeg version 9.1 or later
Status
Published on 11/24/2026, patch available
Action
Update FFmpeg to version 9.1 or later

Sources: NVD, CVE-2026-135729

← All articles