{"answers":{"affected":"2 open source packages ship an affected version, including league/commonmark.","exploited":"There is no known exploitation of CVE-2026-71488 in the wild and no public exploit code.","fix":"Upgrade league/commonmark to 2.9.0 or later.","what":"CVE-2026-71488 is a high-severity denial of service vulnerability in thephpleague commonmark, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-71488 and fix it if it is affected.\n\nWhat it is: CVE-2026-71488 is a high-severity denial of service vulnerability in thephpleague commonmark, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-71488 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- league/commonmark (Packagist): affected from 0.6.0; fixed in 2.9.0\n- league/commonmark (Packagist): affected from 0.6.0; fixed in 2.9.0\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-71488/ (Markdown: https://insights.sbomify.com/CVE-2026-71488/index.md)","id":"CVE-2026-71488","markdown":"https://insights.sbomify.com/CVE-2026-71488/index.md","name":"CVE-2026-71488","record":{"aliases":["DEBIAN-CVE-2026-71488","GHSA-2q4p-g7hv-5rgv","UBUNTU-CVE-2026-71488"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP Markdown parser","requires_auth":"none","summary":"Attackers can cause excessive CPU consumption via crafted Markdown input in the league/commonmark PHP library, leading to denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-1050","name":"Excessive Platform Resource Consumption within a Loop"}],"description":"league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"league/commonmark: Quadratic-time denial of service when parsing crafted Markdown","id":"CVE-2026-71488","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"OPNsense: Direct comma-separated user privileges bypass OPNsense MVC read-only write protection","id":"CVE-2026-71490"},"packages":[{"ecosystem":"Packagist","fixed":["2.9.0"],"introduced":["0.6.0"],"last_affected":[],"package":"league/commonmark","purl":null,"source":"GHSA-2q4p-g7hv-5rgv"},{"ecosystem":"Packagist","fixed":["2.9.0"],"introduced":["0.6.0"],"last_affected":[],"package":"league/commonmark","purl":"pkg:composer/league/commonmark","source":"GHSA-2q4p-g7hv-5rgv"}],"prev":{"headline":"vLLM: Derender endpoints decode caller-supplied GenerateResponse token IDs without output bounds","id":"CVE-2026-71486"},"products":["commonmark"],"published":"2026-08-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["thephpleague"]},"summary":"Attackers can cause excessive CPU consumption via crafted Markdown input in the league/commonmark PHP library, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2026-71488/"}