CVE-2026-14257: brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.64% (FIRST EPSS); higher than 51.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: juliangruber brace-expansion 5.0.8.
Low priority for now. Upgrade to juliangruber brace-expansion 5.0.8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- GHSA-mh99-v99m-4gvg
- ALSA-2026:54371
- ALSA-2026:54530
- ALSA-2026:55541
- ALSA-2026:55601
- ALSA-2026:55603
- ALSA-2026:58819
- openSUSE-SU-2026:12070-1
- RHSA-2026:45360
- RHSA-2026:45381
- RHSA-2026:45784
- RHSA-2026:50290
- RHSA-2026:54183
- RHSA-2026:54371
- RHSA-2026:54389
- RHSA-2026:54530
- RHSA-2026:55541
- RHSA-2026:55601
- RHSA-2026:55603
- RHSA-2026:57590
- Published
- Jul 23, 2026
- Updated
- Oct 24, 2026
- EPSS
- 0.6% · 51th percentile
- CWE
- CWE-400
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · seal
- 7.5
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| juliangruber | brace-expansion | cpe:2.3:a:juliangruber:brace-expansion |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (seal). Independent of NVD's CPE analysis and usually ahead of it.
juliangruber brace-expansion
- up to and including 5.0.7affected · semver
Affected versions · NVD (4)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- juliangruber brace-expansionbefore 1.1.17
- juliangruber brace-expansion2.0.0 and later · before 2.1.3
- juliangruber brace-expansion3.0.0 and later · before 3.0.3
- juliangruber brace-expansion4.0.0 and later · before 5.0.8
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | nodejs | before 1:22.23.1-6.el10_2 | 1:22.23.1-6.el10_2 |
| AlmaLinux:10 | nodejs-devel | before 1:22.23.1-6.el10_2 | 1:22.23.1-6.el10_2 |
| AlmaLinux:10 | nodejs-docs | before 1:22.23.1-6.el10_2 | 1:22.23.1-6.el10_2 |
| AlmaLinux:10 | nodejs-full-i18n | before 1:22.23.1-6.el10_2 | 1:22.23.1-6.el10_2 |
| AlmaLinux:10 | nodejs-libs | before 1:22.23.1-6.el10_2 | 1:22.23.1-6.el10_2 |
| AlmaLinux:10 | nodejs-npm | before 1:10.9.8-1.22.23.1.6.el10_2 | 1:10.9.8-1.22.23.1.6.el10_2 |
| AlmaLinux:10 | nodejs24 | before 1:24.18.0-5.el10_2 | 1:24.18.0-5.el10_2 |
| AlmaLinux:10 | nodejs24-devel | before 1:24.18.0-5.el10_2 | 1:24.18.0-5.el10_2 |
| AlmaLinux:10 | nodejs24-docs | before 1:24.18.0-5.el10_2 | 1:24.18.0-5.el10_2 |
| AlmaLinux:10 | nodejs24-full-i18n | before 1:24.18.0-5.el10_2 | 1:24.18.0-5.el10_2 |
| AlmaLinux:10 | nodejs24-libs | before 1:24.18.0-5.el10_2 | 1:24.18.0-5.el10_2 |
| AlmaLinux:10 | nodejs24-npm | before 1:11.16.0-1.24.18.0.5.el10_2 | 1:11.16.0-1.24.18.0.5.el10_2 |
| AlmaLinux:8 | nodejs | before 1:24.18.0-3.module_el8.10.0+4250+09238ed4 | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 |
| AlmaLinux:8 | nodejs | before 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 | 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 |
| AlmaLinux:8 | nodejs-devel | before 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 | 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 |
| AlmaLinux:8 | nodejs-devel | before 1:24.18.0-3.module_el8.10.0+4250+09238ed4 | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 |
| AlmaLinux:8 | nodejs-docs | before 1:24.18.0-3.module_el8.10.0+4250+09238ed4 | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 |
| AlmaLinux:8 | nodejs-docs | before 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 | 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 | 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:24.18.0-3.module_el8.10.0+4250+09238ed4 | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 |
| AlmaLinux:8 | nodejs-libs | before 1:24.18.0-3.module_el8.10.0+4250+09238ed4 | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 |
| AlmaLinux:8 | nodejs-libs | before 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 | 1:22.23.1-3.module_el8.10.0+4251+b427b8a5 |
| AlmaLinux:8 | nodejs-nodemon | before 3.1.14-2.module_el8.10.0+4252+aedd4c30 | 3.1.14-2.module_el8.10.0+4252+aedd4c30 |
| AlmaLinux:8 | nodejs-nodemon | before 3.1.14-2.module_el8.10.0+4250+09238ed4 | 3.1.14-2.module_el8.10.0+4250+09238ed4 |
+96
Same product
juliangruber: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion30Monitor
- CVE-2026-102276brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion30Monitor
- CVE-2026-69152brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation30Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-45149May 29, 2026 · brace-expansion: Large numeric range defeats documented `max` DoS protection30Monitor
- ← EarlierCVE-2026-13149Jun 30, 2026 · brace-expansion through 5.0.6 is vulnerable to denial of service.30Monitor
- Later →CVE-2026-102277Sep 28, 2026 · brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| juliangruber brace-expansion | 5.0.8 · description | Vendor (CNA) |
| almalinux:nodejs | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-devel | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-docs | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-full-i18n | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-libs | 1:24.18.0-3.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-nodemon | 3.1.14-2.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-npm | 1:10.9.8-1.22.23.1.6.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:nodejs-packaging | 2021.06-6.module_el8.10.0+4086+70facd4a · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-packaging-bundler | 2021.06-6.module_el8.10.0+4086+70facd4a · AlmaLinux:8 | Package registry (OSV) |
| almalinux:npm | 1:11.16.0-1.24.18.0.3.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:v8-12.4-devel | 3:12.4.254.21-1.22.23.1.3.module_el8.10.0+4251+b427b8a5 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:v8-13.6-devel | 3:13.6.233.17-1.24.18.0.3.module_el8.10.0+4250+09238ed4 · AlmaLinux:8 | Package registry (OSV) |
| npm:brace-expansion | 1.1.17 | Package registry (OSV) |
| npm:brace-expansion | 2.1.3 | Package registry (OSV) |
| npm:brace-expansion | 3.0.3 | Package registry (OSV) |
| npm:brace-expansion | 5.0.8 | Package registry (OSV) |
| opensuse:velociraptor | 0.76.7.0.git145.b60ef1146-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:grafana12.4 | 0:12.4.6-0.4.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs | 1:24.18.0-3.module+el8.10.0+24639+56878497 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debuginfo | 1:24.18.0-3.module+el8.10.0+24639+56878497 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debugsource | 1:24.18.0-3.module+el8.10.0+24639+56878497 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-devel | 1:24.18.0-3.module+el8.10.0+24639+56878497 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-docs | 1:24.18.0-3.module+el8.10.0+24639+56878497 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs22 | 0:22.23.1-2.3.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs22 | 1:22.23.1-2.3.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs22-bin | 0:22.23.1-2.3.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs22-bin | 1:22.23.1-2.3.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs22-devel | 0:22.23.1-2.3.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs22-devel | 1:22.23.1-2.3.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
+25
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- bnbdrfinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-6915211 days apartbrace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation30Monitor
- CVE-2026-1314923 days apartbrace-expansion through 5.0.6 is vulnerable to denial of service.30Monitor
- CVE-2026-4514955 days apartbrace-expansion: Large numeric range defeats documented `max` DoS protection30Monitor
- CVE-2026-10227667 days apartbrace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion30Monitor
- CVE-2026-10227867 days apartbrace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion30Monitor
- CVE-2026-33750118 days apartbrace-expansion: Zero-step sequence causes process hang and memory exhaustion30Monitor
Not on record for this CVE: public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.