Back to CVE records
High 7.5Published May 29, 2026

CVE-2026-45149The brace-expansion library generates arbitrary strings containing a common prefix and suffix.

Updated under an hour ago ()

Does this affect you?

It affects juliangruber brace-expansion. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.5 HIGH (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Analyzed
Record last updated
Jul 22, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
juliangruber brace-expansion
juliangruber:brace-expansion
from 5.0.0 before 5.0.6
NVD

References

  • mitigation, vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.