
CVE catalog
CVE-2025-8262
node-yarnpkg: CVE-2025-8262
- Severity
- Medium · CVSS 4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.78% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-yarnpkg | sid | 4.1.0+dfsg-9 | vulnerable |
| Debian | node-yarnpkg | forky | 4.1.0+dfsg-9 | vulnerable |
| Debian | node-yarnpkg | trixie | 4.1.0+dfsg-1 | vulnerable |
| Debian | node-yarnpkg | bookworm | 1.22.19+~cs24.27.18-2+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-yarnpkg | source | sid | (unfixed) | not yet assigned | Not reported | [1110609] |
| Debian | node-yarnpkg | source | forky | (unfixed) | not yet assigned | Not reported | [1110609] |
| Debian | node-yarnpkg | source | trixie | (unfixed) | not yet assigned | Not reported | [1110609] |
| Debian | node-yarnpkg | source | bookworm | (unfixed) | not yet assigned | Not reported | [1110609] |
Notes
[trixie] node-yarnpkg: Minor issue [bookworm] node-yarnpkg: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [yarnpkg]Affected
Source package: [node-yarnpkg]
Details (2)
1.22.19+~cs24.27.18-2+deb12u1· all · bookwormAffected
dsa · node-yarnpkg · debian · bookworm; dsa · node-yarnpkg · debian · 12
1.22.19+~cs24.27.18-2+deb12u1· all · bookwormAffected
dsa · node-yarnpkg · debian · bookworm; dsa · node-yarnpkg · debian · 12
[Debian 13 (Trixie)]
- [yarnpkg]Affected
Source package: [node-yarnpkg]
Details (2)
4.1.0+dfsg-1· all · trixieAffected
dsa · node-yarnpkg · debian · 13
4.1.0+dfsg-1· all · trixieAffected
dsa · node-yarnpkg · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-8262]
- [https://security-tracker.debian.org/tracker/CVE-2025-8262]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-8262.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]