{"cve":"CVE-2026-111758","nvd":{"published":"2026-10-20T21:17:17.110","modified":"2026-10-22T16:47:38.403","status":"Awaiting Analysis","description":"markdown-it is a Markdown parser. From versions 14.1.0 to before 14.3.3, and 15.0.0 to before 15.0.3, a link reference definition whose label or title is never closed is O(n²) with default options. Continuation lines are pulled lazily with str += lineContent in src/rules_block/reference.ts, and the subsequent charCodeAt and slice calls flatten the V8 cons-string, copying everything collected so far; this runs before the rule decides the definition is invalid. No options are required to trigger it. This issue has been patched in versions 14.3.3 and 15.0.3.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-407"],"references":["https://github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca","https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503","https://github.com/markdown-it/markdown-it/releases/tag/14.3.3","https://github.com/markdown-it/markdown-it/releases/tag/15.0.3","https://github.com/markdown-it/markdown-it/security/advisories/GHSA-gfr2-rv44-r23c"],"products":[],"source":"nvd","synced_at":"2026-10-23T16:39:26.291718493+00:00"},"epss":{"cve":"CVE-2026-111758","score":0.00455,"percentile":0.39239,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-gfr2-rv44-r23c","url":"https://osv.dev/vulnerability/GHSA-gfr2-rv44-r23c","summary":"markdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)","modified":"2026-10-20T20:45:05.953469039Z","packages":[{"ecosystem":"npm","name":"markdown-it","purl":"pkg:npm/markdown-it","ranges":[">=14.1.0 <14.3.3"],"fixed":["14.3.3"]},{"ecosystem":"npm","name":"markdown-it","purl":"pkg:npm/markdown-it","ranges":[">=15.0.0 <15.0.3"],"fixed":["15.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}