{"api_version":"1","generated_at":"2026-10-20T22:35:40+00:00","cve":"CVE-2026-111758","urls":{"html":"https://cve.report/CVE-2026-111758","api":"https://cve.report/api/cve/CVE-2026-111758.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-111758","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-111758"},"summary":{"title":"markdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-20 21:17:17","updated_at":"2026-10-20 21:17:17"},"problem_types":["CWE-400","CWE-407","CWE-400 CWE-400: Uncontrolled Resource Consumption","CWE-407 CWE-407: Inefficient Algorithmic Complexity"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/markdown-it/markdown-it/releases/tag/15.0.3","name":"https://github.com/markdown-it/markdown-it/releases/tag/15.0.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/markdown-it/markdown-it/releases/tag/14.3.3","name":"https://github.com/markdown-it/markdown-it/releases/tag/14.3.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503","name":"https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/markdown-it/markdown-it/security/advisories/GHSA-gfr2-rv44-r23c","name":"https://github.com/markdown-it/markdown-it/security/advisories/GHSA-gfr2-rv44-r23c","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca","name":"https://github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111758","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111758","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"markdown-it","product":"markdown-it","version":"affected >= 14.1.0, < 14.3.3","platforms":[]},{"source":"CNA","vendor":"markdown-it","product":"markdown-it","version":"affected >= 15.0.0, < 15.0.3","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"markdown-it","vendor":"markdown-it","versions":[{"status":"affected","version":">= 14.1.0, < 14.3.3"},{"status":"affected","version":">= 15.0.0, < 15.0.3"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-407","description":"CWE-407: Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-20T20:28:40.677Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/markdown-it/markdown-it/security/advisories/GHSA-gfr2-rv44-r23c","tags":["x_refsource_CONFIRM"],"url":"https://github.com/markdown-it/markdown-it/security/advisories/GHSA-gfr2-rv44-r23c"},{"name":"https://github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca","tags":["x_refsource_MISC"],"url":"https://github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca"},{"name":"https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503","tags":["x_refsource_MISC"],"url":"https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503"},{"name":"https://github.com/markdown-it/markdown-it/releases/tag/14.3.3","tags":["x_refsource_MISC"],"url":"https://github.com/markdown-it/markdown-it/releases/tag/14.3.3"},{"name":"https://github.com/markdown-it/markdown-it/releases/tag/15.0.3","tags":["x_refsource_MISC"],"url":"https://github.com/markdown-it/markdown-it/releases/tag/15.0.3"}],"source":{"advisory":"GHSA-gfr2-rv44-r23c","discovery":"UNKNOWN"},"title":"markdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-111758","datePublished":"2026-10-20T20:28:40.677Z","dateReserved":"2026-10-16T17:52:09.081Z","dateUpdated":"2026-10-20T20:28:40.677Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-20 21:17:17","lastModifiedDate":"2026-10-20 21:17:17","problem_types":["CWE-400","CWE-407","CWE-400 CWE-400: Uncontrolled Resource Consumption","CWE-407 CWE-407: Inefficient Algorithmic Complexity"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"111758","Ordinal":"1","Title":"markdown-it: Quadratic-time rendering of a single multi-line lin","CVE":"CVE-2026-111758","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"111758","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"markdown-it: Quadratic-time rendering of a single multi-line lin"}]}}}