CVE-2026-33750brace-expansion: Zero-step sequence causes process hang and memory exhaustion
- 6.5MediumCVSS base score
- 0.46%Exploitation in 30 daysEPSS · top 60% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13, a brace pattern with a zero step value (e.g., `{1..2..0}`) causes the sequence generation loop to run indefinitely, making the process hang for seconds and allocate heaps of memory. Versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13 fix the issue. As a workaround, sanitize strings passed to `expand()` to ensure a step value of `0` is not used.
Timeline
ID reserved
By GitHub_M
- 4 days later
· 4 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.46% · top 60% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
juliangruber · brace-expansion
- affected >= 4.0.0, < 5.0.5
- affected >= 3.0.0, < 3.0.2
- affected >= 2.0.0, < 2.0.3
- affected < 1.1.13
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmbrace-expansionGHSA-f886-m6hf-6m8v (opens in a new tab)
References
References10
- https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-f886-m6hf-6m8v (opens in a new tab)x_refsource_CONFIRM
- https://github.com/juliangruber/brace-expansion/issues/98 (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/pull/95 (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/pull/96 (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/pull/97 (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/commit/311ac0d54994158c0a384e286a7d6cbb17ee8ed5 (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/commit/7fd684f89fdde3549563d0a6522226a9189472a2 (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/commit/b9cacd9e55e7a1fa588fe4b7bb1159d52f1d902a (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daaf2ab30e5794a/src/index.ts#L107-L113 (opens in a new tab)x_refsource_MISC
- https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daaf2ab30e5794a/src/index.ts#L184 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-16620 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-f886-m6hf-6m8v (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-33750)Record last updated .