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.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Atlassian Jira | — | Upgrade to the latest version of Atlassian JIRA | Sep 16, 2026 | Sep 15, 2026 |
| Redhat_linux | — | Upgrade nodejs-debugsourceUpgrade nodejs-full-i18nUpgrade nodejs24-debugsourceUpgrade nodejs-packagingUpgrade nodejs24-docsUpgrade nodejs22-debugsourceUpgrade nodejs-npmUpgrade nodejsUpgrade nodejs-nodemonUpgrade nodejs-libsUpgrade nodejs24-libs-debuginfoUpgrade nodejs22-debuginfoUpgrade nodejs-docsUpgrade npmUpgrade nodejs24Upgrade nodejs-libs-debuginfoUpgrade nodejs-debuginfoUpgrade nodejs24-develUpgrade v8-12.4-develUpgrade nodejs24-debuginfoUpgrade v8-13.6-develUpgrade nodejs24-npmUpgrade nodejs24-full-i18nUpgrade nodejs-develUpgrade nodejs24-libsUpgrade nodejs-packaging-bundlerUpgrade rh-podman-desktop | Aug 5, 2026 | Jul 23, 2026 |
| Rocky_linux | — | Upgrade nodejs-debuginfoUpgrade nodejs-libs-debuginfoUpgrade nodejs-develUpgrade nodejsUpgrade nodejs-debugsourceUpgrade nodejs-libsUpgrade v8-12.4-develUpgrade v8-13.6-develUpgrade npmUpgrade nodejs-full-i18n | Aug 20, 2026 | Aug 18, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub