CVE-2026-45149

Aliases:GHSA-jxxr-4gwj-5jf2
Advisory lineage Upstream: 0 Downstream: 12
Analyzed
Published: 29 May 2026, 19:55
Last modified:01 Jun 2026, 16:44

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.28% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

29 May 2026, 19:55
Published
Vulnerability first disclosed
01 Jun 2026, 16:44
Last Modified
Vulnerability information updated

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 Metrics

  • v3.1MEDIUMScore: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.28% Percentile: 20%

Techniques & Countermeasures

  • CWE-400Uncontrolled Resource Consumption

    The product does not properly control the allocation and maintenance of a limited resource.

Affected Systems

  • juliangruberbrace-expansion

    ≥ 5.0.0, ≤ 5.0.6 | ≥ 5.0.0, < 5.0.6

  • Npmbrace-expansion

    ≥ 5.0.0, < 5.0.6

References (4)