FFmpeg before 9.1 XML Injection via TTML Muxer xml:lang Attribute

State
Published
Severity
4.8 Medium
Published
Nov 24, 2026
Updated
Nov 24, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

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.

ProductVersions
FFmpeg FFmpegbefore 9.1 Affected

Weaknesses

  • CWE-91 XML Injection (aka Blind XPath Injection)

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.