JLSEC-2026-2190: FFmpeg before 9.1 contains an XML injection vulnerability in ttml_write_header() in libavformat...
FFmpeg before 9.1 contains an XML injection vulnerability in ttmlwriteheader() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Users of julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll are exposed when they convert attacker-supplied media into TTML and the media contains crafted stream language metadata, such as a Matroska subtitle track Language value.
What must an attacker be able to do to exploit it?
An attacker must be able to supply a media file that is processed by the affected FFmpeg TTML conversion path. Exploitation also depends on a user or downstream system parsing or rendering the resulting TTML document.
What is the impact of successful exploitation?
Crafted language metadata can be written as markup within the xml:lang attribute of the generated TTML document. This can alter how downstream consumers parse or render that document; the stated impact is integrity only.
How can I tell whether a workflow is affected?
Check whether your Julia environment uses julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll with an FFmpeg version before 9.1, and whether it converts media containing subtitle or stream language metadata to TTML. Inspect generated TTML from untrusted inputs for unexpected markup in xml:lang attributes.