# CVE-2025-58451: Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-09-08T22:07:48.516Z
- Modified: 2026-06-17T09:44:28.897Z
- Also known as: GHSA-455v-w7r9-3vv9
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- IEatUranium238 Cattown: < 1.0.2
- cattown (npm): before 1.0.2

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/IEatUranium238/Cattown/security/advisories/GHSA-455v-w7r9-3vv9> (web)
- <https://github.com/IEatUranium238/Cattown/commit/70c2a28fb7dc520cfb7e401e0e141bff3dd26ead> (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)

## Sources

- CVE List: [CVE-2025-58451](https://www.cve.org/CVERecord?id=CVE-2025-58451), CVE Terms of Use, modified 2025-09-09
- GitHub Advisory Database: [GHSA-455v-w7r9-3vv9](https://github.com/advisories/GHSA-455v-w7r9-3vv9), CC-BY-4.0, modified 2025-09-25
- NVD: [CVE-2025-58451](https://nvd.nist.gov/vuln/detail/CVE-2025-58451), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-58451 · Whole record: https://cve.day/CVE-2025-58451.json · Rebuilt by cve.day 2026-11-25T22:59:04.348Z
