Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2022-25858

Regular Expression Denial of Service (ReDoS)

Medium5.3EPSS 3.3%
Published
Updated
Reserved
Assigned by
snyk

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.

Scores

CVSS scores of CVE-2022-25858, by who scored it
Scored byCVSSScoreVector
snykCNA (assigner)3.1Medium5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVDNVD · Modified3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
3.3% · top 12% of all CVEs (7 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.

Weakness

Affected products

  • terser

    • affected unspecified – < 4.8.1
    • affected 5.0.0 – < unspecified
    • affected unspecified – < 5.14.2

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References (5)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2022-25858 badge
[![CVE-2022-25858](https://trackcve.app/badge/CVE-2022-25858.svg)](https://trackcve.app/cve/CVE-2022-25858)

Record last updated .