Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-8262
yarnpkg yarn

Score5.3 Medium
CVSS 4.0
Exploit probability (EPSS)1.2%
within the next 30 days
CategoryDenial of service
Published28 July 2025
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

Impact is limited: crashing the system or making it unavailable.

Weakness type: Uncontrolled resource consumption.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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.

CVSS: 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

Weakness: CWE-400 – Uncontrolled resource consumption, CWE-1333 – Inefficient regular expression (ReDoS)

Affected products

VendorProductVersions
yarnpkgyarn<=1.22.22

Sources

Latest in the same category

  • CVE-2026-137162 Low 2.1
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who supplies Markdown to exhaust CPU via a long run of block quote markers when auto-close is enabled. When Markdown is rendered…
    Denial of service · 30 November 2026
  • CVE-2026-135775 Medium 5.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses. When auto-close is…
    Denial of service · 30 November 2026
  • CVE-2026-135699 Low 2.1
    Inefficient Regular Expression Complexity vulnerability in leandrocp mdex allows an attacker to exhaust CPU via crafted unterminated link or image labels. When an application completes partial Markdown with the…
    Denial of service · 30 November 2026
  • CVE-2026-134916 Medium 6.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to…
    Denial of service · 30 November 2026
  • CVE-2026-134915 Medium 6.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown passed to MDEx.stream/2 to exhaust CPU via unmatched HTML closing tags. MDEx.stream/2 tracks open HTML tags…
    Denial of service · 30 November 2026
  • CVE-2026-131906 Medium 6.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to MDEx.to_slack/2.…
    Denial of service · 30 November 2026