Vulnerability record · CVE-2025-9308 · published 21 August 2025
CVE-2025-9308: Yarnpkg yarn uncontrolled resource consumption vulnerability
Yarnpkg · Yarn
A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local access is required to approach this attack. This vulnerability only affects products that are no longer supported by the maintainer.
Description
A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local access is required to approach this attack. This vulnerability only affects products that are no longer supported by the maintainer.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/yarnpkg/yarn/pull/9203 | ExploitIssue Tracking |
| https://vuldb.com/?ctiid.320913 | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.320913 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.633486 | Third Party AdvisoryVDB Entry |
| https://github.com/yarnpkg/yarn/pull/9203 | ExploitIssue Tracking |
Track CVE-2025-9308 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-9308), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.