CVE-2025-58451CWE-1333CWE-400

Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption

High · published September 8, 2025

CVSS v4.0
8.7
EPSS
0%
Percentile
25.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
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
EPSS
0.00334 · 25.6th percentile
Weaknesses
CWE-1333 · Inefficient Regular Expression Complexity; CWE-400 · Uncontrolled Resource Consumption
Published
2025-09-08T22:07Z
EPSS history
Timeline
  • 08 SEP 22:07Z
    Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption
    cvelistv5