CVE-2022-25883
JavaScript packages · CVE-2022-25883
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.761% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.3 · published by snykCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
Assessment source · checked 2026-11-19T12:56:25.302Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:56:25.302Z | CVE Program |
| epss | verified | 2026-11-19T16:04:33.279Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:33.496Z | OSV |
| affected | verified | 2026-11-19T12:56:25.302Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:25.302Z | CVE Program |
Affected versions and configuration
n/a semver; default status: unknown: 0 to < 7.5.2 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "semver",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "7.5.2",
"versionType": "semver"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/npm/node-semver/blob/main/internal/re.js%23L160",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/npm/node-semver/blob/main/internal/re.js%23L138",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/npm/node-semver/pull/564",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20241025-0004/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-10-25T13:07:28.542Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-25883",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-12-06T16:54:52.064322Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-1333",
"description": "CWE-1333 Inefficient Regular Expression Complexity"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-12-06T16:55:09.228Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-c2qf-rxjj-qqgw",
"aliases": [
"CVE-2022-25883"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.5.2"
}
]
}
],
"package": {
"name": "semver",
"purl": "pkg:npm/semver",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-c2qf-rxjj-qqgw/GHSA-c2qf-rxjj-qqgw.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.3.1"
}
]
}
],
"package": {
"name": "semver",
"purl": "pkg:npm/semver",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-c2qf-rxjj-qqgw/GHSA-c2qf-rxjj-qqgw.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0-alpha"
},
{
"fixed": "5.7.2"
}
]
}
],
"package": {
"name": "semver",
"purl": "pkg:npm/semver",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-c2qf-rxjj-qqgw/GHSA-c2qf-rxjj-qqgw.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25883",
"type": "ADVISORY"
},
{
"url": "https://github.com/npm/node-semver/pull/564",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/pull/585",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/pull/593",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/commit/2f8fd41487acf380194579ecb6f8b1bbfe116be0",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/commit/928e56d21150da0413a3333a3148b20e741a920c",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver",
"type": "PACKAGE"
},
{
"url": "https://github.com/npm/node-semver/blob/main/classes/range.js#L97-L104",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/blob/main/internal/re.js#L138",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/blob/main/internal/re.js#L160",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/blob/main/internal/re.js%23L138",
"type": "WEB"
},
{
"url": "https://github.com/npm/node-semver/blob/main/internal/re.js%23L160",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20241025-0004",
"type": "WEB"
},
{
"url": "https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-1333"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2023-06-21T05:15:09Z",
"github_reviewed_at": "2023-06-22T16:52:56Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | semver | Not a distribution channel | 7.5.2 | Official record |
| ecosystem-boundary | npm / package | semver | Not a distribution channel | 6.3.1 | Official record |
| ecosystem-boundary | npm / package | semver | Not a distribution channel | 5.7.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:33.496ZArchived source JSON
Source publication: 2023-06-21T06:30:28.000Z
Source modification: 2026-09-10T03:50:02.224ZDocument fingerprint
114f718e9ffec484cdd5d8d34dc59c0cac56d6455a658cdfedad451cd595c5af - CVE ProgramConsulted: 2026-11-19T12:56:25.302ZArchived source JSON
Source publication: 2023-06-21T05:00:03.352Z
Source modification: 2024-12-06T16:55:09.228ZDocument fingerprint
35f090902e0385108708cd2b5e660408eeb2a215707e46a9e1a77dc194b02132 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:33.279ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3d29ce03ca2c5b5eb21d368e31ebd19afc18e103aae654fb820daf58d5a4a332
Official status history
- UNKNOWN → PUBLISHED · · evidence