Skip to content

CVE-2026-111758 markdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)

HighCVSS 7.5 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

16 packages: 1 fixed, 14 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform/automation-portal(Red Hat ansible_portal 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1795400827(Red Hat ansible_portal 2.2 el9) All versions No fix listed No fix yet
redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/devspaces/openvsx-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/rh-podman-desktop(Red Hat podman_desktop 1) All versions No fix listed No fix yet
redhat/rhdh/rhdh-hub-rhel9:1794341043(Red Hat rhdh 1.10 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-feature-server-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1793702275(Red Hat openshift_ai 2.25 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1793727032(Red Hat openshift_ai 3.5 el9) All versions No fix listed No fix yet
redhat/thrift(Red Hat ceph_storage 9) All versions No fix listed No fix yet
ubuntu/node-markdown-it(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-markdown-it(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-markdown-it(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-markdown-it(Ubuntu 26.10) All versions No fix listed No fix yet
npm markdown-it(npm) >= 14.1.0, < 14.3.3; >= 15.0.0, < 15.0.3 14.3.3, 15.0.3 Fixed
markdown-it = >= 14.1.0, < 14.3.3; = >= 15.0.0, < 15.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
markdown-it = >= 14.1.0, < 14.3.3 No fix listed
markdown-it = >= 15.0.0, < 15.0.3 No fix listed
npm markdown-it(npm) >= 14.1.0, < 14.3.3 14.3.3
npm markdown-it(npm) >= 15.0.0, < 15.0.3 15.0.3
ubuntu/node-markdown-it(Ubuntu:22.04) All versions No fix listed
ubuntu/node-markdown-it(Ubuntu:24.04) All versions No fix listed
ubuntu/node-markdown-it(Ubuntu:26.04) All versions No fix listed
ubuntu/node-markdown-it(Ubuntu:26.10) All versions No fix listed
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1795400827(Red Hat:ansible_portal:2.2::el9) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9:1794341043(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1793702275(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1793727032(Red Hat:openshift_ai:3.5::el9) All versions No fix listed
redhat/rh-podman-desktop(Red Hat:podman_desktop:1) All versions No fix listed
redhat/thrift(Red Hat:ceph_storage:9) All versions No fix listed
redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) All versions No fix listed

References