{"answers":{"affected":"2 open source packages ship an affected version, including league/commonmark.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105830 exists.","fix":"Upgrade league/commonmark to 2.10.2 or later.","what":"CVE-2026-105830 is a high-severity denial of service vulnerability in thephpleague commonmark, published on 8 Oct 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-105830 and fix it if it is affected.\n\nWhat it is: CVE-2026-105830 is a high-severity denial of service vulnerability in thephpleague commonmark, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105830 exists.\n\nAffected packages and fixed versions:\n- league/commonmark (Packagist): affected from 2.0.0; fixed in 2.10.2\n- league/commonmark (Packagist): affected from 2.0.0; fixed in 2.10.2\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-105830/ (Markdown: https://insights.sbomify.com/CVE-2026-105830/index.md)","id":"CVE-2026-105830","markdown":"https://insights.sbomify.com/CVE-2026-105830/index.md","name":"CVE-2026-105830","record":{"aliases":["DEBIAN-CVE-2026-105830","GHSA-3q6v-r5mr-hxv8","GHSA-84wr-wccg-f5hp","UBUNTU-CVE-2026-105830"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP Markdown library","requires_auth":"none","summary":"Unauthenticated attackers can cause CPU exhaustion and denial of service in league/commonmark by submitting crafted Markdown input.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"league/commonmark from 2.0.0 before 2.10.2 contains a quadratic-time denial of service vulnerability in the GitHub Flavored Markdown Table extension's TableStartParser::tryStart() block-start scan. Unauthenticated attackers can submit a large paragraph of pipe-free lines not starting with letters, forcing repeated full-buffer strpos scans that exhaust PHP worker CPU.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"league/commonmark 2.0.0 before 2.10.2 Quadratic DoS via TableStartParser","id":"CVE-2026-105830","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"EspoCRM before 10.0.6 Unauthenticated Stored HTML Injection via Lead Capture Form","id":"CVE-2026-105831"},"packages":[{"ecosystem":"Packagist","fixed":["2.10.2"],"introduced":["2.0.0"],"last_affected":[],"package":"league/commonmark","purl":null,"source":"GHSA-3q6v-r5mr-hxv8"},{"ecosystem":"Packagist","fixed":["2.10.2"],"introduced":["2.0.0"],"last_affected":[],"package":"league/commonmark","purl":"pkg:composer/league/commonmark","source":"GHSA-3q6v-r5mr-hxv8"}],"prev":{"headline":"League CommonMark 1.3.0 before 2.10.2 Stored XSS via DisallowedRawHtml Bypass","id":"CVE-2026-105829"},"products":["commonmark"],"published":"2026-10-08","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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["thephpleague"]},"summary":"Unauthenticated attackers can cause CPU exhaustion and denial of service in league/commonmark by submitting crafted Markdown input.","url":"https://insights.sbomify.com/CVE-2026-105830/"}