CVE-2025-58451 Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption
HighCVSS 8.7
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm cattown(npm) | < 1.0.2 | 1.0.2 | Fixed |
| IEatUranium238 Cattown | = < 1.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm cattown(npm) | < 1.0.2 | 1.0.2 |
| IEatUranium238 Cattown | = < 1.0.2 | No fix listed |
References
- https://github.com/IEatUranium238/Cattown/security/advisories/GHSA-455v-w7r9-3vv9 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/IEatUranium238/Cattown/commit/70c2a28fb7dc520cfb7e401e0e141bff3dd26ead patch
- github.com
- www.npmjs.com
- github.com
- github.com product