CVE-2026-14257
CVSS v3
7.5
HIGH
EPSS Score
0.6 %
exploit probability, as of 2026-10-17
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for brace-expansion. Watch brace-expansion in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- brace-expansionnpmall versions · fixed in 1.1.17
- nodejsAlmaLinux:10all versions · fixed in 1:22.23.1-6.el10_2and 4 other packages
- nodejsAlmaLinux:9all versions · fixed in 1:22.23.1-3.module_el9.8.0+291+0bb98cceand 4 other packages
- nodejsAlmaLinux:8all versions · fixed in 1:22.23.1-3.module_el8.10.0+4251+b427b8a5and 4 other packages
- nodejs-nodemonAlmaLinux:9all versions · fixed in 3.1.14-2.module_el9.8.0+291+0bb98cce
- nodejs-nodemonAlmaLinux:8all versions · fixed in 3.1.14-2.module_el8.10.0+4252+aedd4c30
- nodejs-npmAlmaLinux:10all versions · fixed in 1:10.9.8-1.22.23.1.6.el10_2
- nodejs-packagingAlmaLinux:9all versions · fixed in 2021.06-6.module_el9.7.0+227+12323393and 1 other package
9 more package ranges on OSV.dev
Vendor advisories
brace-expansion: Brace-expansion: Denial of Service via memory exhaustion in expand() function
exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 as a component of Exploit Intelligence · openshift-lightspeed/lightspeed-agentic-console-rhel9 as a component of OpenShift Lightspeed · openshift-lightspeed/lightspeed-console-plugin-419-rhel9 as a component of OpenShift Lightspeed
Red Hat Security Advisory: OpenShift Container Platform 4.17.58 security and extras update
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
Red Hat Security Advisory: Red Hat Quay 3.14.9
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.8.17 update
Red Hat Security Advisory: OpenShift Container Platform 4.18.55 security and extras update
34 more advisories
Description
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-07-23
- Last Modified
- 2026-07-23
Frequently asked questions
What is CVE-2026-14257?
Is CVE-2026-14257 actively exploited?
What is the CVSS score for CVE-2026-14257?
Running brace-expansion? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.