Resource exhaustion in Yarnpkg Yarn

CVE-2025-8262

A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation leads to inefficie…

Vulnerability class: DoS (Denial of Service)

EPSS: 0.007 (49.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-8262?
CVE-2025-8262 is a medium-severity vulnerability in Yarnpkg Yarn, classified under Uncontrolled Resource Consumption. CVSS score: 4.3/10. Published 2025-07-28.
How severe is CVE-2025-8262?
Medium severity. CVSS v3 base score is 4.3 out of 10.