CVE-2025-58451

Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption

Published Sep 8, 2025 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-27175 Cattown is Vulnerable to Uncontrolled Resource Consumption through Inefficient Regular Expression Complexity
Github GHSA Github GHSA GHSA-455v-w7r9-3vv9 Cattown is Vulnerable to Uncontrolled Resource Consumption through Inefficient Regular Expression Complexity
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption
Weaknesses CWE-1333
CWE-400
References
Metrics cvssV4_0

{'score': 8.7, '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 9, 2025, 1:30 PM
Reserved
Sep 1, 2025, 8:03 PM
Status
Deferred
Published
Sep 8, 2025, 10:15 PM
Modified
Jun 17, 2026, 9:44 AM