CVE Explorer
CVE-2026-14257
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 i
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/problemTypes/0/descriptions/1
Affected products and versions
1 source assertion{"collectionURL":"https://www.npmjs.com/package/brace-expansion","defaultStatus":"unaffected","packageName":"brace-expansion","platforms":["Linux","macOS","Windows"],"product":"brace-expansion","vendor":"juliangruber","versions":[{"lessThanOrEqual":"5.0.7","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/problemTypes/0/descriptions/1
Source references
3 source assertions{"url":"https://github.com/juliangruber/brace-expansion"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/references/1
{"url":"https://github.com/juliangruber/brace-expansion/commit/a1bd33999ea75262c4749fff3bbb0d1372bd07b5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/references/2
{"name":"GHSA-mh99-v99m-4gvg","url":"https://www.npmjs.com/package/brace-expansion"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:63cb1f6494d247d1ee026057444526d82e2a64c3fb91e9e7367e6629401702d3 · sha256:a336a831a62e04c4… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.