Skip to main content
HIGH

CVE-2022-25858

CVSS v3

7.5

HIGH

EPSS Score

3.3 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for terser.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • tersernpmfrom 5.0.0 · fixed in 5.14.2

Vendor advisories

  • CVE-2022-25858 Red Hat Product Security4 products fixed · 53 known affected

    terser: insecure use of regular expressions leads to ReDoS

    rhmtc/openshift-migration-ui-rhel8 as a component of Migration Toolkit for Containers · migration-toolkit-virtualization/mtv-ui-rhel8 as a component of Migration Toolkit for Virtualization · openshift-service-mesh/kiali-rhel8 as a component of OpenShift Service Mesh 2.0

  • RHSA-2023:3645 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.2.7 security update

  • RHSA-2022:7313 Red Hat Product Security192 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.6.2 security update and bug fixes

  • RHSA-2022:7276 Red Hat Product Security221 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.8 security fixes and container updates

  • RHSA-2022:6835 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Service Registry (container images) release and security update [2.3.0.GA]

Full record on NVD

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.

Technical details

Published
2022-07-15

Frequently asked questions

What is CVE-2022-25858?

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.

Is CVE-2022-25858 actively exploited?

Active exploitation of CVE-2022-25858 has not been confirmed. Its EPSS score was 3.3% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-25858?

CVE-2022-25858 has a CVSS v3 base score of 7.5 (HIGH severity).

Running terser? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month