Bug 2556455 (CVE-2026-111758) - CVE-2026-111758 markdown-it: markdown-it: Denial of Service via unclosed link reference definitions
Summary: CVE-2026-111758 markdown-it: markdown-it: Denial of Service via unclosed link...
Keywords:
Status: NEW
Alias: CVE-2026-111758
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2561916 2561923 2561915 2561917 2561918 2561919 2561920 2561921 2561922
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-20 20:41 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:28 UTC (History)
31 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-20 20:41:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.