CVE catalog

CVE-2025-8262

node-yarnpkg: CVE-2025-8262

[CVE catalog]

Severity
Medium · CVSS 4.3CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-yarnpkgsid4.1.0+dfsg-9vulnerable
Debiannode-yarnpkgforky4.1.0+dfsg-9vulnerable
Debiannode-yarnpkgtrixie4.1.0+dfsg-1vulnerable
Debiannode-yarnpkgbookworm1.22.19+~cs24.27.18-2+deb12u1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-yarnpkgsourcesid(unfixed)not yet assignedNot reported[1110609]
Debiannode-yarnpkgsourceforky(unfixed)not yet assignedNot reported[1110609]
Debiannode-yarnpkgsourcetrixie(unfixed)not yet assignedNot reported[1110609]
Debiannode-yarnpkgsourcebookworm(unfixed)not yet assignedNot reported[1110609]

[Debian bug #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 · bookworm

      Affected

      dsa · node-yarnpkg · debian · bookworm; dsa · node-yarnpkg · debian · 12

    • 1.22.19+~cs24.27.18-2+deb12u1 · all · bookworm

      Affected

      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 · trixie

      Affected

      dsa · node-yarnpkg · debian · 13

    • 4.1.0+dfsg-1 · all · trixie

      Affected

      dsa · node-yarnpkg · debian · 13

Observed:

References