Skip to content

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.

PackageAffectedFixed inStatus
npm cattown(npm) < 1.0.2 1.0.2 Fixed
IEatUranium238 Cattown = < 1.0.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm cattown(npm) < 1.0.2 1.0.2
IEatUranium238 Cattown = < 1.0.2 No fix listed

References