# CVE-2026-135711: FFmpeg before 9.1 XML Injection via TTML Muxer xml:lang Attribute

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-11-24T03:14:05.567Z
- Modified: 2026-11-25T19:20:15.537Z
- Weaknesses: CWE-91
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- FFmpeg FFmpeg: before 9.1

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917> (issue-tracking, patch)
- <https://github.com/FFmpeg/FFmpeg/commit/bcb5d56b752cba0117eee5d6509dfc081de4c326> (patch)
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/ttmlenc.c#L152> (product, 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)

## Sources

- CVE List: [CVE-2026-135711](https://www.cve.org/CVERecord?id=CVE-2026-135711), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-135711](https://nvd.nist.gov/vuln/detail/CVE-2026-135711), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135711 · Whole record: https://cve.day/CVE-2026-135711.json · Rebuilt by cve.day 2026-11-25T22:59:53.673Z
