cve.bz

CVE-2026-111759 markdown-it markdown-it: Uncontrolled Resource Consumption

7.5 highEPSS 0.6%Fix available

High (7.5) in markdown-it markdown-it. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in markdown-it 14.3.2, 15.0.2.

On this page
markdown-it is a Markdown parser. Prior to 14.3.2 and 15.0.2, when typographer: true is enabled, specially crafted Markdown can cause quadratic processing time in the smartquotes rule, potentially leading to denial of service in applications processing untrusted input. Many opening double quotes followed by unmatched closing single quotes cause repeated scans of the entire opener stack. The same issue occurs with the quote types reversed. The default configuration (typographer: false) is not affected, but this option is enabled with high probability. This issue is fixed in versions 14.3.2 and 15.0.2.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-10-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • markdown-it (npm): fixed in 15.0.2, 14.3.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-111759 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-111759?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-111759?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-111759 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
markdown-it>= 15.0.0, < 15.0.2
markdown-it< 14.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r7fv-28h4-cvq7npmmarkdown-it>=15.0.0 <15.0.215.0.2
GHSA-r7fv-28h4-cvq7npmmarkdown-it<14.3.214.3.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-markdown-itno fix listedDEBIAN-CVE-2026-111759
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 1 morenode-markdown-itno fix listedUBUNTU-CVE-2026-111759

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as having Important impact because an unauthenticated remote attacker can exhaust server CPU resources and stall single-threaded Node.js event loops by supplying crafted markdown to services that enable typographer extensions. Although typographer mode is disabled by default in standard markdown-it deployments, services exposing user-facing text formatting and portal documentation frequently activate this feature. In environments where untrusted users can submit arbitrary content for server-side parsing, this algorithmic complexity flaw can result in complete denial of service for the host application.

Red Hat's mitigation

--- CME Mitigation Guidance (2026-10-20) ---

Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to disable typographer mode or the smartquotes inline rule across all markdown-it instances processing untrusted user input: upgrade to markdown-it 14.3.2 and 15.0.2 (or the fixed Libgit/Libgit2/Nextcloud/Forgejo/Ansible/Rhoai/Odh Workbench Codeserver Datascience Cpu Py312 Rhel/Rhdh/Rhdh Hub Rhel/Devspaces/Code Rhel/Devspaces/Openvsx Rhel/Devspaces/Pluginregistry Rhel/Thrift/Ansible Automation Platform/Automation Portal/Rhoai/Odh Feature Server Rhel/Rhdh/Red Hat Developer Hub Backstage Plugin Orchestrator Backend/Ansible Automation Platform/Bootc Automation Portal Rhel/Rh Podman Desktop/Rhdh/Red Hat Developer Hub Backstage Plugin Lightspeed Backend/Redhat User Workloads/Mintmaker Renovate Image builds), which track latest single and double quote openers directly using head pointers and cap the quote opener stack at 1,000 items, closing crafted Markdown with numerous opening quotes followed by mismatched closing quotes. Until patched, this is a concern on applications and services parsing untrusted Markdown with typographer mode or smartquotes enabled, so disable the typographer configuration option or explicitly disable the smartquotes rule in all markdown-it parser instances accepting user-supplied content. As a compensating measure, enforce RLIMIT_CPU limits on parser worker processes to bound maximum CPU time consumption, configure systemd watchdog monitoring and automatic restart directives to recover stalled parser processes, restrict the maximum character length and token count of accepted Markdown input, constrain CPU quotas using cgroups v2 to contain the blast radius of parser CPU exhaustion, and throttle incoming HTTP request rates and connections on endpoints accepting Markdown payloads. These controls limit blast radius and contain exploitation, but they do not fix the underlying quadratic quote rescanning complexity defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-1316 Algorithmic Complexity Safeguards (Pattern/Regex Execution Limits) (high)

ProductPackageStateAdvisory
Red Hat Build of Podman Desktoprh-podman-desktopAffected
Red Hat Ceph Storage 9thriftAffected
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backendNot affected
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backendNot affected
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Affected
Red Hat Hardened Imageslibgit2Not affected
Red Hat Hardened Imageslibgit2_1.9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-feature-server-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Affected
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Affected
Red Hat OpenShift Dev Spacesdevspaces/openvsx-rhel9Affected
Red Hat OpenShift Dev Spacesdevspaces/pluginregistry-rhel9Affected
Self-service automation portal 2ansible-automation-platform/automation-portalAffected
Self-service automation portal 2ansible-automation-platform/bootc-automation-portal-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-111759.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON