7.5

CVE-2022-25858: Regular Expression Denial of Service (ReDoS)

Modified
AliasesUBUNTU-CVE-2022-25858DEBIAN-CVE-2022-25858GHSA-4wf5-vphf-c2xc
Published 15-07-2022Last modified 16-09-2024

Vulnerability summary

CVE-2022-25858 is a high (CVSS 7.5) vulnerability in terser. EPSS estimates a 3.25% chance of exploitation in the next 30 days, higher than 88.7% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
3.25%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference

Timeline

  1. 15-07-2022
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

3.25%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.25% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Wordpress8 products
  • autoshare-for-twitter≤ 1.1.2 (fixed in 1.2.0)
  • elasticpress≤ 4.2.2 (fixed in 4.3.0)
  • maps-block-apple≤ 1.0.3 (fixed in 1.1.0)
  • publisher-media-kit≤ 1.2.1 (fixed in 1.3.0)
  • retro-winamp-block≤ 1.1.0 (fixed in 1.2.0)
Ubuntu2 products
  • node-terserAll versions (No fix recorded)
  • qt6-webengineAll versions (No fix recorded)
Debian1 product
  • node-terser< 4.8.1-1
Npm1 product
  • terser< 4.8.1 | ≥ 5.0.0, < 5.14.2
Terser1 product
  • terser< 4.8.1 | ≥ 5.0.0, < 5.14.2

5 vendors · 13 products

References

12 links
Show all 12 references