Vulnerability · Published Feb 12, 2026 · Assigned by snyk
CVE-2026-2327
Medium 5.3
In plain English
A medium-severity regular-expression denial of service in markdown-it. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | node-markdown-it | no fix listed | UBUNTU-CVE-2026-2327 |
| Ubuntu:24.04:LTS | node-markdown-it | no fix listed | UBUNTU-CVE-2026-2327 |
| Ubuntu:25.10 | node-markdown-it | no fix listed | UBUNTU-CVE-2026-2327 |
| Ubuntu:26.04:LTS | node-markdown-it | no fix listed | UBUNTU-CVE-2026-2327 |
| Ubuntu:26.10 | node-markdown-it | no fix listed | UBUNTU-CVE-2026-2327 |
| npm | markdown-it | 14.1.1 | GHSA-38c4-r59v-3vqw |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | markdown-it | 13.0.0 – before 14.1.1 |
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
References
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750
- https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917
- https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs%23L33
- https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26