Cattown Markdown Parser Inefficient Regular Expression Complexity and Resource Exhaustion Vulnerability

Vulnerability

A vulnerability exists in Cattown, a JavaScript markdown parser, in versions prior to 1.0.2. The issue arises from the use of regular expressions with inefficient, potentially exponential worst-case complexity. This can lead to excessive CPU usage due to backtracking on crafted inputs, causing resource exhaustion that may result in a denial-of-service condition. Additionally, the vulnerability can bypass certain protection mechanisms, leading to unexpected or insecure behavior.

Impact

The vulnerability can be exploited to cause high CPU or memory usage, leading to resource exhaustion and denial-of-service conditions.

Remediation

Users are advised to upgrade to Cattown version 1.0.2 or later. After upgrading, it is recommended to review and restrict input sources if untrusted inputs are processed.

Added: Sep 8, 2025, 10:28 PM
Updated: Sep 8, 2025, 10:28 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.0
remediation
7.7
relevance
0.5
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.