{"cve":"CVE-2022-25883","nvd":{"published":"2023-06-21T05:15:09.060","modified":"2026-06-17T04:34:26.360","status":"Analyzed","description":"Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104","https://github.com/npm/node-semver/blob/main/internal/re.js%23L138","https://github.com/npm/node-semver/blob/main/internal/re.js%23L160","https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441","https://github.com/npm/node-semver/pull/564"],"products":["npmjs:semver"],"source":"nvd","synced_at":"2026-10-19T21:38:30.124994567+00:00"},"epss":{"cve":"CVE-2022-25883","score":0.02761,"percentile":0.86273,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-c2qf-rxjj-qqgw","url":"https://osv.dev/vulnerability/GHSA-c2qf-rxjj-qqgw","summary":"semver vulnerable to Regular Expression Denial of Service","modified":"2026-09-10T03:50:02.224637541Z","packages":[{"ecosystem":"npm","name":"semver","purl":"pkg:npm/semver","ranges":[">=7.0.0 <7.5.2"],"fixed":["7.5.2"]},{"ecosystem":"npm","name":"semver","purl":"pkg:npm/semver","ranges":[">=6.0.0 <6.3.1"],"fixed":["6.3.1"]},{"ecosystem":"npm","name":"semver","purl":"pkg:npm/semver","ranges":[">=2.0.0-alpha <5.7.2"],"fixed":["5.7.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}