CVEfocus › CVE database › CVE-2025-8262

CVE-2025-8262yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos

CVSS 4.3 MediumEPSS 0.8% (higher than 59% of CVEs)Published 2025-07-28Updated 2025-07-28Assigner: VulDB

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 inefficient regular expression complexity. It is possible to launch the attack remotely. The patch is identified as 97731871e674bf93bcbf29e9d3258da8685f3076. It is recommended to apply a patch to fix this issue.

CWE-1333CWE-400

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-yarnpkgFix pendingUBUNTU-CVE-2025-8262
Ubuntu 26.04node-yarnpkgUnder investigationUBUNTU-CVE-2025-8262
Ubuntu 25.10node-yarnpkgWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-8262
Ubuntu 24.04node-yarnpkgUnder investigationUBUNTU-CVE-2025-8262
Ubuntu 22.04node-yarnpkgUnder investigationUBUNTU-CVE-2025-8262
Ubuntu 20.04node-yarnpkgFix pendingUBUNTU-CVE-2025-8262
Debian 14node-yarnpkgFix pendingDEBIAN-CVE-2025-8262
Debian 13node-yarnpkgFix pendingDEBIAN-CVE-2025-8262
Debian 12node-yarnpkgFix pendingDEBIAN-CVE-2025-8262

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.