p PatchFirst

CVE-2025-58451

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • cattown

    Versions
    • < 1.0.2: Affected

    No fix published

  • cattown npm

    Affected ranges
    • SEMVER: < 1.0.2

    Update to 1.0.2

Original sources

Check your server →