CVE-2025-58451 Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2025-58451?
CVE-2025-58451 is a high-severity vulnerability in IEatUranium238 Cattown, published on 8 Sep 2025.
Official description
Cattown is a JavaScript markdown parser. Versions prior to 1.0.2 used regular expressions with inefficient, potentially exponential worst-case complexity. This could cause excessive CPU usage due to excessive backtracking on crafted inputs. In turn, the excessive CPU usage could lead to resource exhaustion, where processing malicious inputs could cause high CPU or memory usage, potentially leading to denial of service. Version 1.0.2 contains a patch. Additionally, users should review and restrict input sources if untrusted inputs are processed.
Which versions are affected by CVE-2025-58451?
2 open source packages ship an affected version, including cattown.
| Package | Affected | Fixed in |
|---|---|---|
cattown npm | All versions | 1.0.2 |
cattown npm | All versions | 1.0.2 |
How do I fix CVE-2025-58451?
Upgrade cattown to 1.0.2 or later.
Is CVE-2025-58451 being exploited?
There is no known exploitation of CVE-2025-58451 in the wild and no public exploit code.
Sources
Also known as GHSA-455v-w7r9-3vv9.