Bug 2561700 - CVE-2026-111766 libgit2: markdown-it: Denial of Service via repeated unterminated inline HTML constructs [fedora-all]
Summary: CVE-2026-111766 libgit2: markdown-it: Denial of Service via repeated untermin...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libgit2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["5e93ff90-762f-4e5d-9cb6-9...
Depends On:
Blocks: CVE-2026-111766
TreeView+ depends on / blocked
 
Reported: 2026-10-27 10:38 UTC by Vipul Nair
Modified: 2026-10-28 22:12 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-28 22:12:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-10-27 10:38:56 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. Prior to 14.3.3 and 15.0.3, when the html option or commonmark preset is enabled and the constructs occur inside a paragraph, attacker-controlled Markdown containing repeated unterminated inline HTML comments, processing instructions, declarations, or CDATA sections reaches src/rules_inline/html_inline.ts. Its HTML_TAG_RE match searches the remaining suffix for the appropriate terminator; when no terminator is present, parsing advances to the next opener and repeats the match over overlapping input, causing quadratic processing and denial of service through event-loop blocking or an unresponsive browser main thread. HTML blocks and the default HTML-disabled configuration are not affected by these payloads. This issue is fixed in versions 14.3.3 and 15.0.3.

Comment 1 Fabio Valentini 2026-10-28 22:12:32 UTC
markdown-it is only referenced in the build system for the libgit2 docs, which is neither included nor run during Fedora package builds.


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