{"answers":{"affected":"1 open source package ship an affected version, including ffmpeg/ffmpeg. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-135711 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls ttml_write_header(). Many projects that include it are not exposed.","fix":"Upgrade ffmpeg/ffmpeg to 9.1 or later.","what":"CVE-2026-135711 is a medium-severity code injection vulnerability in FFmpeg, published on 24 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-135711 and fix it if it is affected.\n\nWhat it is: CVE-2026-135711 is a medium-severity code injection vulnerability in FFmpeg, published on 24 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-135711 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls ttml_write_header(). Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- ffmpeg/ffmpeg (GitHub): affected all versions; fixed in 9.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to ttml_write_header() and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-135711/ (Markdown: https://insights.sbomify.com/CVE-2026-135711/index.md)","id":"CVE-2026-135711","markdown":"https://insights.sbomify.com/CVE-2026-135711/index.md","name":"CVE-2026-135711","record":{"aliases":["DEBIAN-CVE-2026-135711","ECHO-3940-efbd-213a","GHSA-3hqc-r3wp-5g4x","UBUNTU-CVE-2026-135711"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"multimedia library","requires_auth":"none","requires_specific_call":true,"summary":"Crafted media files can inject markup into FFmpeg's TTML output, altering parsing or rendering; users converting untrusted media should care.","user_interaction":"required","vuln_class":"code_injection","vulnerable_functions":["ttml_write_header()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[{"criteria":[{"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd","version_end_excluding":"9.1"}],"n_criteria":1,"name":"FFmpeg","product":"ffmpeg","vendor":"ffmpeg"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"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.","ecosystems":["GitHub"],"exploits":{"exploitdb":0,"first_seen":"2026-11-24","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-24T11:42:00Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-135711","stars":0,"title":"FFmpeg \u003c9.1: ttmlenc writes language metadata unescaped into xml:lang — crafted Language value injects XML markup. Verbatim escaping decision from bcb5d56^ vs av_escape fix: raw \u003cinjected/\u003e on vuln, escaped on fixed"}],"tier":"poc_unverified"},"has_fix":true,"headline":"FFmpeg before 9.1 XML Injection via TTML Muxer xml:lang Attribute","id":"CVE-2026-135711","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub","product":"ffmpeg:ffmpeg","products":["ffmpeg:ffmpeg"],"type":"code_injection","year":"2026"},"main_cpe":null,"main_fixed":["9.1"],"main_package":"ffmpeg/ffmpeg","n_packages":1,"n_references":5,"n_vendor_status":1,"next":{"headline":"FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()","id":"CVE-2026-135712"},"nickname":null,"packages":[{"ecosystem":"GitHub","fixed":["9.1"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"ffmpeg/ffmpeg","purl":"pkg:github/ffmpeg/ffmpeg","purl_source":"cna","scope":"upstream","source":"CVE-2026-135711"}],"prev":{"headline":"FFmpeg before 9.1 Uninitialized Memory Disclosure via Sierra VMD Demuxer","id":"CVE-2026-135710"},"products":["FFmpeg"],"published":"2026-11-24","related":[{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","id":"CVE-2013-0864","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","id":"CVE-2013-0872","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","id":"CVE-2013-0873","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Null dereference in ffmpeg:ffmpeg","id":"CVE-2013-4265","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Other in ffmpeg:ffmpeg","id":"CVE-2011-3937","kev_date_added":null,"published":"2013-01-05"},{"cvss_score":10,"headline":"Other in ffmpeg:ffmpeg","id":"CVE-2012-2772","kev_date_added":null,"published":"2012-09-10"},{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","id":"CVE-2012-2775","kev_date_added":null,"published":"2012-09-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-24","vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["9.1"],"name":"ffmpeg:ffmpeg","sources":["NVD"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":["FFmpeg"]},"summary":"Crafted media files can inject markup into FFmpeg's TTML output, altering parsing or rendering; users converting untrusted media should care.","url":"https://insights.sbomify.com/CVE-2026-135711/"}