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

CVE-2026-45149
juliangruber brace-expansion

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)0.36%
within the next 30 days
CategoryDenial of service
Published29 May 2026
Last modified: 22 July 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: 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

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~800ms building the full intermediate array. This vulnerability is fixed in 5.0.6.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-400 – Uncontrolled resource consumption

Affected products

VendorProductVersions
juliangruberbrace-expansion>=5.0.0 <5.0.6

Sources

Latest in the same category

  • CVE-2026-137200 High 7.5
    Socket.IO enables bidirectional and low-latency communication for every platform. Prior to Engine.IO 6.6.12, a remote unauthenticated client can send an upgrade request to a non-Engine.IO path and disconnect before the…
    Denial of service · 30 November 2026
  • CVE-2026-137196 Medium 6.3
    Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore…
    Denial of service · 30 November 2026
  • 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