CVE-2021-3807

published 17 Sep 2021 · updated 8 Oct 2026

Inefficient Regular Expression Complexity in chalk/ansi-regex

7.5HighCVSS 7.5EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 5.0.1 and 6.0.1.

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
chalk<5.0.1, <6.0.15.0.1, 6.0.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3807 severity on Zeptric[![CVE-2021-3807](https://zeptric.io/badge/cve/CVE-2021-3807.svg)](https://zeptric.io/cve/CVE-2021-3807)