CVE-2026-111758 markdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2556455 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/markdown-it/markdown-it/commit/48fbc465812c440020c663f040ab22deaf8f1eca patch
- https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503 patch
- https://github.com/markdown-it/markdown-it/releases/tag/14.3.3
- https://github.com/markdown-it/markdown-it/releases/tag/15.0.3
- https://github.com/markdown-it/markdown-it/security/advisories/GHSA-gfr2-rv44-r23c exploit vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- Debian Security Tracker CVE-2026-111758 vendor-advisory
- github.com product
- RHSA-2026:99044 patch vendor-advisory
- RHSA-2026:95872 patch vendor-advisory
- RHSA-2026:100634 patch vendor-advisory
- ENISA EUVD EUVD-2026-105358 third-party-advisory
- RHSA-2026:102227 patch vendor-advisory