CWE-133336 advisories

Inefficient Regular Expression Complexity (ReDoS)

What it is

A regex with catastrophic backtracking hangs the process on a crafted input, causing denial of service.

How to fix it

Upgrade to a version with a linear-time regex or input caps.

How to avoid it

Avoid nested quantifiers; bound input length and use a linear-time regex engine where possible.

Known Inefficient Regular Expression Complexity (ReDoS) vulnerabilities

Stateward flags Inefficient Regular Expression Complexity (ReDoS) in your own code and dependencies on every pull request.

Scan my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.