Bug 2561916 - CVE-2026-111758 forgejo: markdown-it: Denial of Service via unclosed link reference definitions [fedora-all]
Summary: CVE-2026-111758 forgejo: markdown-it: Denial of Service via unclosed link ref...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: forgejo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["5c80b4a3-a25a-4e01-a289-c...
Depends On:
Blocks: CVE-2026-111758
TreeView+ depends on / blocked
 
Reported: 2026-10-27 11:59 UTC by Vipul Nair
Modified: 2026-10-27 11:59 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

Description Vipul Nair 2026-10-27 11:59:45 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.