CVE-2026-135711
Description
FFmpeg before 9.1 contains an XML injection vulnerability in ttml_write_header() in libavformat/ttmlenc.c that writes stream language metadata unescaped into the xml:lang attribute. Attackers can supply media files, such as Matroska subtitle tracks with crafted Language values, to inject markup into converted TTML documents and alter downstream parsing or rendering.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-135711 NameCVE-2026-135711 DescriptionFFmpeg before 9.1 contains an XML injection vulnerability in ttml_write_header() in libavformat/ttmlenc.c that writes stream language metadata unescaped into the xml:lang attribute. Attackers can supply media files, such as Matroska subtitle tracks with crafted Language values, to inject markup into converted TTML documents and alter downstream…
CVE-2026-135711
| Name | CVE-2026-135711 |
| Description | FFmpeg before 9.1 contains an XML injection vulnerability in ttml_write_header() in libavformat/ttmlenc.c that writes stream language metadata unescaped into the xml:lang attribute. Attackers can supply media files, such as Matroska subtitle tracks with crafted Language values, to inject markup into converted TTML documents and alter downstream parsing or rendering. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | vulnerable |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | vulnerable | |
| forky, sid | 7:9.0.2-6 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | (unstable) | (unfixed) |
Notes
[trixie] - ffmpeg <postponed> (Wait until fixed in 7.1.x upstream branch)
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/bcb5d56b752cba0117eee5d6509dfc081de4c326 (n9.1)
Apply commands
[trixie] - ffmpeg <postponed> (Wait until fixed in 7.1.x upstream branch)https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/bcb5d56b752cba0117eee5d6509dfc081de4c326 (n9.1)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | ffmpeg |
Affected | — |
| sid | ffmpeg |
Fixed | 7:9.1-3 |
| forky | ffmpeg |
Affected | — |
| bookworm | ffmpeg |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ffmpeg | ffmpeg | {"endExcluding":"9.1"} | 9.1 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/ttmlenc.c#L152
- https://github.com/FFmpeg/FFmpeg/commit/bcb5d56b752cba0117eee5d6509dfc081de4c326
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-xml-injection-via-ttml-muxer-xml-lang-attribute
- https://security-tracker.debian.org/tracker/CVE-2026-135711
- https://www.suse.com/security/cve/CVE-2026-135711.html
CWEs
CWE-91
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.