CVE-2026-135711
FFmpeg before 9.1 XML Injection via TTML Muxer xml:lang Attribute
Medium · 4.8Fix available
- CVSS
- 4.8
- EPSS
- 0.45% (p31)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-26
- Product
- FFmpeg FFmpeg
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
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.
Fixed in
9.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | FFmpeg | >=0, <9.1 | 9.1 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917 issue-tracking
- https://github.com/FFmpeg/FFmpeg/commit/bcb5d56b752cba0117eee5d6509dfc081de4c326 patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/ttmlenc.c#L152 technical-description
- https://github.com/FFmpeg/FFmpeg product
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-xml-injection-via-ttml-muxer-xml-lang-attribute third-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135711.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-135711 advisory