CVE-2025-58451
HIGH 8.7CVSS 4.0Cattown is Vulnerable to Uncontrolled Resource Consumption through Inefficient Regular Expression Complexity
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.
- Published
- 8 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-455v-w7r9-3vv9
- Sources
- NVDJSONOSV GHSA-455v-w7r9-3vv9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | cattown | < 1.0.2 | 1.0.2 |
References
- https://github.com/IEatUranium238/Cattown/commit/70c2a28fb7dc520cfb7e401e0e141bff3dd26ead · WEB
- https://github.com/IEatUranium238/Cattown/security/advisories/GHSA-455v-w7r9-3vv9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-58451 · ADVISORY
- https://github.com/IEatUranium238/Cattown · PACKAGE
- https://github.com/IEatUranium238/Cattown/releases/tag/security · WEB
- https://www.npmjs.com/package/cattown · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 8 Sep 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Sep 2025)