{"id":"CVE-2025-8262","aliases":["BELL-CVE-2025-8262","DEBIAN-CVE-2025-8262","EUVD-2025-22855","GHSA-9xhp-f235-5v37","UBUNTU-CVE-2025-8262"],"status":"published","title":"yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos","description":"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.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00843,"percentile":0.5821,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-1333","CWE-400"],"published":"2025-07-28T07:02:05Z","modified":"2026-10-28T02:31:09Z","affected":[{"source":"osv","ecosystem":"Alpaquita:23","package":"yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.22.19-r0"}]}]},{"source":"osv","ecosystem":"Alpaquita:25","package":"yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.22.22-r1"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.22.19-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.19+~cs24.27.18-2","1.22.19+~cs24.27.18-2+deb12u1","1.22.19+~cs24.27.18-3","1.22.19+~cs24.27.18-4","4.0.0-rc.53+dfsg-1","4.0.1+dfsg-1","4.0.1+dfsg-2","4.0.2+dfsg-1","4.0.2+dfsg-2","4.0.2+dfsg-3","4.1.0+dfsg-1","4.1.0+dfsg-3","4.1.0+dfsg-4","4.1.0+dfsg-5","4.1.0+dfsg-6","4.1.0+dfsg-7","4.1.0+dfsg-8","4.1.0+dfsg-9"]},{"source":"osv","ecosystem":"Debian:13","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+dfsg-1","4.1.0+dfsg-3","4.1.0+dfsg-4","4.1.0+dfsg-5","4.1.0+dfsg-6","4.1.0+dfsg-7","4.1.0+dfsg-8","4.1.0+dfsg-9"]},{"source":"osv","ecosystem":"Debian:14","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+dfsg-1","4.1.0+dfsg-3","4.1.0+dfsg-4","4.1.0+dfsg-5","4.1.0+dfsg-6","4.1.0+dfsg-7","4.1.0+dfsg-8","4.1.0+dfsg-9"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.0-1build1","1.13.0-3","1.19.1-1","1.22.4-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.10+~cs22.25.14-3","1.22.10+~cs22.25.14-4","1.22.10+~cs22.25.14-5","1.22.10+~cs22.25.14-8"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.19+~cs24.27.18-2","1.22.19+~cs24.27.18-4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.2+dfsg-3","4.1.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+dfsg-1","4.1.0+dfsg-6ubuntu2","4.1.0+dfsg-7ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"node-yarnpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+dfsg-1"]}],"products":[{"vendor":"yarnpkg","product":"yarn"}],"references":[{"url":"https://vuldb.com/?id.317850","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://vuldb.com/?ctiid.317850","tags":["signature","permissions-required","Permissions Required","VDB Entry","report"]},{"url":"https://vuldb.com/?submit.617393","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://github.com/yarnpkg/yarn/pull/9199","tags":["issue-tracking","Exploit","report"]},{"url":"https://github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076","tags":["issue-tracking","patch","Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8262","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9xhp-f235-5v37"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2025-8262","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8262.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-8262","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-8262","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-8262","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-8262","title":"yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos","description":"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.","status":"published","published":"2025-07-28T07:02:05.616Z","modified":"2025-07-28T17:16:45.501Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","level":"medium","assessor":"cna"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C","level":"medium","assessor":"cna"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C","level":"medium","assessor":"cna"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-1333","CWE-400"],"updated_at":"2026-11-02T14:32:38.025852Z"}],"euvd":[{"id":"EUVD-2025-22855","description":"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.","status":"published","published":"2025-07-28T07:02:05Z","modified":"2025-07-28T17:16:45Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","level":"medium"}],"updated_at":"2026-11-02T20:32:03.359865Z"}],"ghsa":[{"id":"GHSA-9xhp-f235-5v37","title":"A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic....","description":"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.","status":"published","published":"2025-07-28T09:31:16Z","modified":"2025-07-28T09:31:25Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/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:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:03:07.9296Z"}],"nvd":[{"id":"CVE-2025-8262","description":"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.","status":"published","published":"2025-07-28T07:15:25.447Z","modified":"2026-06-17T10:06:38.147Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/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:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-400","CWE-1333"],"updated_at":"2026-11-02T14:11:21.132141Z"}],"osv":[{"id":"BELL-CVE-2025-8262","status":"published","published":"2025-07-30T06:04:17.580739Z","modified":"2026-02-14T07:59:37.869657Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:22.77042Z"},{"id":"CVE-2025-8262","title":"yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos","description":"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.","status":"published","published":"2025-07-28T07:02:05.616Z","modified":"2026-10-28T02:31:09.088639627Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","level":"medium"}],"cwes":["CWE-1333","CWE-400"],"updated_at":"2026-11-02T15:44:53.185592Z"},{"id":"DEBIAN-CVE-2025-8262","description":"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.","status":"published","published":"2025-07-28T07:15:25.447Z","modified":"2026-09-01T20:05:58.983066559Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:48.440897Z"},{"id":"UBUNTU-CVE-2025-8262","description":"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.","status":"published","published":"2025-07-28T07:15:00Z","modified":"2026-10-17T12:57:44.382592191Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T16:55:55.926217Z"}]}}
