Home / juliangruber / brace-expansion / CVE-2026-14257
CVE-2026-14257: is it exploited, and which versions of juliangruber brace-expansion are affected and fixed?
CVE-2026-14257 is a denial of service (uncontrolled resource consumption) vulnerability in juliangruber brace-expansion. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: brace-expansion from 4.0.0 before 5.0.8, brace-expansion from 3.0.0 before 3.0.3, brace-expansion from 2.0.0 before 2.1.3 and 1 more (GitHub advisory GHSA-mh99-v99m-4gvg). Fixed in 5.0.8, 3.0.3, 2.1.3 and 1.1.17 (GitHub advisory GHSA-mh99-v99m-4gvg). Severity: High (7.5, CVSS 3.1, from seal).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-14257?
brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash
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.
From the CVE record by seal, last updated July 23, 2026, 14:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| juliangruber | brace-expansion Linux, macOS, Windows | through 5.0.7 |
As the CVE record by seal states it, last updated July 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | brace-expansion | >= 4.0.0, < 5.0.8 | 5.0.8 | GHSA-mh99-v99m-4gvg |
| npm | brace-expansion | >= 3.0.0, < 3.0.3 | 3.0.3 | GHSA-mh99-v99m-4gvg |
| npm | brace-expansion | >= 2.0.0, < 2.1.3 | 2.1.3 | GHSA-mh99-v99m-4gvg |
| npm | brace-expansion | < 1.1.17 | 1.1.17 | GHSA-mh99-v99m-4gvg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 31, 2026. Summary: brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juliangruber | brace-expansion | before 1.1.17 | application |
| juliangruber | brace-expansion | from 2.0.0 before 2.1.3 | application |
| juliangruber | brace-expansion | from 3.0.0 before 3.0.3 | application |
| juliangruber | brace-expansion | from 4.0.0 before 5.0.8 | application |
NVD analysis (status Analyzed), last modified October 24, 2026, 13:10 UTC.
How severe is CVE-2026-14257?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | seal |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-14257 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 23, 2026)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 52.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- GHSA-mh99-v99m-4gvg
- https://github.com/juliangruber/brace-expansion
- https://github.com/juliangruber/brace-expansion/commit/a1bd33999ea75262c4749fff3bbb0d1372bd07b5
Who found and reported it?
- bnbdr (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 30, 2026
- Published
- July 23, 2026, 12:54 UTC
- CVE record updated
- July 23, 2026, 14:44 UTC by seal
- NVD
- Analyzed, last modified October 24, 2026, 13:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect brace-expansion?
- Sep 28, 2026CVE-2026-102278 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Sep 28, 2026CVE-2026-102277 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Sep 28, 2026CVE-2026-102276 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Aug 3, 2026CVE-2026-69152 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Jun 30, 2026CVE-2026-13149 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- May 29, 2026CVE-2026-45149 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-33750 juliangruber brace-expansion: denial of service (uncontrolled resource consumption)
- Jun 9, 2025CVE-2025-5889 juliangruber brace-expansion: regular expression denial of service (ReDoS)
Questions about CVE-2026-14257
Is CVE-2026-14257 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of juliangruber brace-expansion are affected by CVE-2026-14257?
brace-expansion from 4.0.0 before 5.0.8, brace-expansion from 3.0.0 before 3.0.3, brace-expansion from 2.0.0 before 2.1.3 and brace-expansion before 1.1.17, per the GitHub advisory GHSA-mh99-v99m-4gvg. The tables above give every range the sources list.
Which version fixes CVE-2026-14257?
5.0.8, 3.0.3, 2.1.3 and 1.1.17, per the GitHub advisory GHSA-mh99-v99m-4gvg. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-14257?
High (7.5, CVSS 3.1, from seal). The severity table above shows each score with its source.
Where is the official record of CVE-2026-14257?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.