CVE-2026-2327 Details
Description
Versions of the package markdown-it from 13.0.0 and before 14.1.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of the regex /\*+$/ in the linkify function. An attacker can supply a long sequence of * characters followed by a non-matching character, which triggers excessive backtracking and may lead to a denial-of-service condition.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in the markdown-it package, affecting versions 13.0.0 prior to 14.1.1. The issue arises in the linkify function, where the regex '/\*+$/' is used. This regex, which includes a greedy quantifier and an end-of-string anchor, can be exploited by an attacker who sends a long string of '*' characters followed by a non-matching character. Such input causes excessive backtracking in the regex engine, potentially leading to a denial-of-service condition by consuming a significant amount of CPU resources.
Upgrade markdown-it to version 14.1.1 or higher.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917 | CISA-ADP | Vendor Advisory |
| https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750 | CISA-ADP | Third Party Advisory |
| https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917 | [email protected] | Vendor Advisory |
| https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs%23L33 | [email protected] | Broken Link |
| https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26 | [email protected] | PatchProduct |
| https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| markdown-it project markdown-it | >= 13.0.0, < 14.1.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 23, 2026 | Initial Analysis | [email protected] |
| Feb 12, 2026 | CVE Modified | CISA-ADP |
| Feb 12, 2026 | New CVE Received | [email protected] |