{"answers":{"affected":"1 open source package ship an affected version, including mistune.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-121438 exists.","exposure":"","fix":"Upgrade mistune to 3.3.3 or later.","what":"CVE-2026-121438 is a medium-severity vulnerability in lepture mistune, published on 3 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-121438 and fix it if it is affected.\n\nWhat it is: CVE-2026-121438 is a medium-severity vulnerability in lepture mistune, published on 3 Nov 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-121438 exists.\n\nAffected packages and fixed versions:\n- mistune (PyPI): affected all versions; fixed in 3.3.3\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.\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-121438/ (Markdown: https://insights.sbomify.com/CVE-2026-121438/index.md)","id":"CVE-2026-121438","markdown":"https://insights.sbomify.com/CVE-2026-121438/index.md","name":"CVE-2026-121438","record":{"aliases":["DEBIAN-CVE-2026-121438","GHSA-296h-qmjr-9mv2","GHSA-47p6-w2rc-5qf7","UBUNTU-CVE-2026-121438","openSUSE-SU-2026:12476-1"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Mistune before 3.3.3 contains a denial of service vulnerability in InlineParser.parse_link that allows attackers to cause quadratic CPU growth by supplying balanced nested brackets. Attackers can submit crafted Markdown with thousands of nested bracket pairs not forming a valid link, triggering repeated _contains_nested_link scans that exhaust CPU in parsing applications.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing","id":"CVE-2026-121438","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["3.3.3"],"main_package":"mistune","n_packages":2,"n_references":3,"n_vendor_status":2,"next":{"headline":"Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 HTTP Response Splitting via wasi-http","id":"CVE-2026-121439"},"nickname":null,"packages":[{"ecosystem":"PyPI","fixed":["3.3.3"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"mistune","purl":"pkg:pypi/mistune","purl_source":"cna","scope":"upstream","source":"CVE-2026-121438"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.4.0-3.1"],"introduced":["0"],"last_affected":[],"name_kind":"binary","package":"python-mistune","purl":"pkg:rpm/opensuse/python-mistune","purl_source":"advisory","scope":"distro","source":"openSUSE-SU-2026:12476-1"}],"prev":{"headline":"Mistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimiters","id":"CVE-2026-121437"},"products":["mistune"],"published":"2026-11-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-07","vendor_status":[{"n_packages":1,"name":"openSUSE","packages":[{"fixed":["3.4.0-3.1"],"name":"python-mistune","name_kind":"binary","purl":"pkg:rpm/opensuse/python-mistune","sources":["openSUSE-SU-2026:12476-1"],"status":"fixed"}],"release":"Tumbleweed","scope":"distro","status":"fixed","statuses":{"fixed":1},"vendor":"opensuse"},{"n_packages":1,"name":"Red Hat","packages":[{"detail":"Fix deferred","name":"python-mistune","name_kind":"source","purl":"pkg:rpm/redhat/python-mistune","sources":["redhat-vex"],"status":"deferred"}],"release":"openshift:4","scope":"distro","status":"deferred","statuses":{"deferred":1},"vendor":"redhat"}],"vendors":["lepture"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-121438/"}