CVE-2026-88753 Details
Description
A Regular-Expression Denial of Service (ReDoS) in the Markdown2. extract_metadata() function (lib/markdown2.py) of trentm markdown2 through v2.5.5 allows attackers to cause a Denial of Service (DoS) via a crafted Markdown document.
A Regular-Expression Denial-of-Service (ReDoS) vulnerability has been identified in the Trentm Markdown2 library, specifically in the extract_metadata() function of lib/markdown2.py, affecting versions through 2.5.5. This vulnerability allows attackers to cause a Denial of Service (DoS) by exploiting the metadata parsing feature with a crafted Markdown document. The issue arises from overlapping, unbounded space-matching quantifiers in the regular expression used to parse metadata values, leading to super-linear backtracking and excessive CPU consumption.
To address this vulnerability, the regular expression used in the metadata parsing can be rewritten to eliminate the overlapping space quantifiers, or the length of metadata values can be bounded before applying the regex. Alternatively, the 'regex' module's atomic groups or possessive quantifiers can be used to prevent the backtracking issue.
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.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 20, 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/NanaSec/354b4188bbd7f4105008c7b8be49b0ba | CISA-ADP | ExploitTechnical Analysis |
| https://gist.github.com/NanaSec/354b4188bbd7f4105008c7b8be49b0ba | [email protected] | ExploitTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| trentm markdown2 | <= 2.5.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion