- Home
- Vulnerabilities
- CVE-2026-14257
CVE-2026-14257
brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function…
Summary
brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function limits the number of results with a max option (default 100,000) but does not bound the length of each result string. By chaining multiple brace groups, an attacker keeps the result count under the limit while making each result progressively longer, so total memory scales with both count and string length until the process hits a fatal, uncatchable out-of-memory error. About 7.5 KB of input ('{a,b}'.repeat(1500)) crashes a default Node.js process. Any application that passes attacker-influenced strings to brace-expansion.expand() - directly or transitively via minimatch / glob brace patterns - can be crashed by a small request. Fixed in 5.0.8 by adding a maxLength option (default 4,000,000) that bounds accumulated output and intermediate arrays.
Affected products and versions
Juliangruber (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Brace-expansion | before 1.1.17 (excluded) |
— | NVD |
| Brace-expansion | from 2.0.0 (included) to 2.1.3 (excluded) |
— | NVD |
| Brace-expansion | from 3.0.0 (included) to 3.0.3 (excluded) |
— | NVD |
| Brace-expansion | from 4.0.0 (included) to 5.0.8 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1256)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1366)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1472)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1539)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1576)
CERT-FR advisories
- CERTFR-2026-AVI-1576 — Multiples vulnérabilités dans les produits Splunk (19 novembre 2026) 19 Nov 2026
- CERTFR-2026-AVI-1539 — Multiples vulnérabilités dans les produits IBM (13 novembre 2026) 13 Nov 2026
- CERTFR-2026-AVI-1472 — Multiples vulnérabilités dans les produits IBM (06 novembre 2026) 6 Nov 2026
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 Oct 2026
- CERTFR-2026-AVI-1366 — Multiples vulnérabilités dans les produits Splunk (22 octobre 2026) 22 Oct 2026
- CERTFR-2026-AVI-1256 — Multiples vulnérabilités dans les produits IBM (02 octobre 2026) 2 Oct 2026
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:22e2d327-25fe-45d7-9f0c-dcd23b7108df)- Weakness
- CWE-400 · Autre (CWE-400)