CVE-2022-25858

published 15 Jul 2022 · updated 16 Nov 2026

Regular Expression Denial of Service (ReDoS)

5.3MediumCVSS 5.3EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in 4.8.1, 5.14.2 and unspecified.

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<4.8.1, <5.14.2, >=5.0.0 <unspecified4.8.1, 5.14.2, unspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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