XML Injection Affecting ffmpeg package, versions [,9.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FFMPEG-22840774
  • published24 Nov 2026
  • disclosed24 Nov 2026
  • creditJoshua Rogers (AISLE Research)

Introduced: 24 Nov 2026

NewCVE-2026-135711  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.1 or higher.

Overview

Affected versions of this package are vulnerable to XML Injection via the ttml_write_header() function in the TTML muxer. An attacker can inject markup into converted TTML documents by supplying a media file with crafted stream language metadata, such as a Matroska subtitle track with a malicious Language value, altering how downstream systems parse or render the document.

Notes

  • The header-injection step is reached only for paragraph-based TTML input: ttml_write_header() writes the xml:lang attribute inside the PACKET_TYPE_PARAGRAPH branch; whole-document TTML input is passed through without that generated header.

CVSS Base Scores

version 4.0
version 3.1