Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

GHSA-c2qf-rxjj-qqgw semver

HIGHFix: npm/node-semver#564

GHSA-c2qf-rxjj-qqgw is a high-severity (CVSS 7.5) vulnerability in semver. 1 public exploit reference exists, so weaponization risk is real. A fix is available for semver — see the affected versions and patch details below.

semver vulnerable to Regular Expression Denial of Service

Also known asCVE-2022-25883
Published
Jun 21, 2023
Updated
Sep 10, 2026
Affected
3 pkgs
Patched
3 / 3
Exploits
1 known
Exploitation data as of Sep 19, 2026 · OSV.dev, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.

Exploitation and automatability from CISA’s SSVC triage for GHSA-c2qf-rxjj-qqgw.

EPSS Exploitation Probability

via FIRST.org ↗
2.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs86th percentile — riskier than 86% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

How urgent is this, really

GHSA-c2qf-rxjj-qqgw plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.

Where this sits among everything scored

Of 376,715 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.

Real-World Exposure

3 pkgs affected
📦semver📦semver📦semver

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.

Description

Versions of the package semver before 7.5.2 on the 7.x branch, before 6.3.1 on the 6.x branch, and all other versions before 5.7.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmsemver7.0.0&&< 7.5.27.5.2npm install semver@7.5.2
📦npmsemver6.0.0&&< 6.3.16.3.1npm install semver@6.3.1
📦npmsemver2.0.0-alpha&&< 5.7.25.7.2npm install semver@5.7.2
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for semver, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update semver to 7.5.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-c2qf-rxjj-qqgw is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-c2qf-rxjj-qqgw can be triaged on real exposure rather than presence alone.

Tailored to GHSA-c2qf-rxjj-qqgw. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

This vulnerability is rated Moderate for Red Hat Products versus NVD's High due to deployment context. The flaw in node-semver's new Range() function causes catastrophic regex backtracking on crafted input, leading to CPU exhaustion. However, exploitation requires untrusted input passed directly to the parser. So…

ProductFixed inAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-web-container-rhel8:1.2-10RHSA-2024:0719
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-image-service-rhel8:v2.6.2-5RHSA-2024:5955
NETWORK-OBSERVABILITY-1.4.0-RHEL-9network-observability/network-observability-console-plugin-rhel9:v1.4.0-42RHSA-2023:5379
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/acm-cluster-permission-rhel9:v2.11.2-5RHSA-2024:6044
Red Hat Enterprise Linux 8nodejs:16-8080020230906092006.63b34585RHSA-2023:5360
Red Hat Enterprise Linux 8nodejs:18-8080020230825111344.63b34585RHSA-2023:5362
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:16-8060020230906023909.ad008a3aRHSA-2023:5361
Red Hat Enterprise Linux 9nodejs:18-9020020230825081254.rhel9RHSA-2023:5363

Frequently Asked Questions

Versions of the package semver before 7.5.2 on the 7.x branch, before 6.3.1 on the 6.x branch, and all other versions before 5.7.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
O3 Security · Impact-Aware SCA

Is GHSA-c2qf-rxjj-qqgw in your dependencies?

O3 Security finds GHSA-c2qf-rxjj-qqgw across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.