CVE-2026-14257
Last modified
CVE-2026-14257 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Juliangruber | Brace-Expansion | < 1.1.17 |
| Juliangruber | Brace-Expansion | >= 2.0.0, < 2.1.3 |
| Juliangruber | Brace-Expansion | >= 3.0.0, < 3.0.3 |
| Juliangruber | Brace-Expansion | >= 4.0.0, < 5.0.8 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-14257?
How severe is CVE-2026-14257?
How do I fix CVE-2026-14257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-14250The Themehunk Login Registration plugin for WordPress is vul…6.3
- CVE-2026-14251A flaw was found in the OpenShift GitOps operator. The Clust…7.7
- CVE-2026-14253Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-14254A race condition in the account lockout mechanism in Delphix…8.3
- CVE-2026-14255A maliciously crafted IFC file, when parsed through certain …5.5
- CVE-2026-14256ELAN reported a potential out-of-bounds write vulnerability …4.7
- CVE-2026-14258A flaw was found in dhcpcd's IPv6 Neighbor Discovery Router …6.5
- CVE-2026-14259Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7…4.3
- CVE-2026-1426The Advanced AJAX Product Filters plugin for WordPress is vu…8.8
- CVE-2026-14261A vulnerability in the Xerte Online Tools allows for authent…9.1
- CVE-2026-14262The Simple JWT Login – Allows you to use JWT on REST endpoin…8.8
- CVE-2026-14265Deserialization of untrusted data in the RemoteQueryCachePlu…8.8
Are you affected by CVE-2026-14257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
