
CVE catalog
CVE-2026-33750
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..
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.45% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-brace-expansion | sid | 2.1.7+~1.1.2-1 | fixed |
| Debian | node-brace-expansion | forky | 2.1.7+~1.1.2-1 | fixed |
| Debian | node-brace-expansion | trixie | 2.0.1+~1.1.0-2 | vulnerable |
| Debian | node-brace-expansion | bookworm | 2.0.1-2 | vulnerable |
| Cpe | node-brace-expansion | Not reported | Not reported | vulnerable |
| Cpe | brace-expansion | Not reported | 1.1.13 | fixed |
| Cpe | brace-expansion | Not reported | 2.0.3 | fixed |
| Cpe | brace-expansion | Not reported | 3.0.2 | fixed |
| Cpe | brace-expansion | Not reported | 5.0.5 | fixed |
| Npm | brace-expansion | Not reported | 1.1.13 | fixed |
| Npm | brace-expansion | Not reported | 3.0.2 | fixed |
| Npm | brace-expansion | Not reported | 2.0.3 | fixed |
| Npm | brace-expansion | Not reported | 1.1.13 | fixed |
| Cpe | brace-expansion | Not reported | 5.0.5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-brace-expansion | source | sid | 2.0.3+~1.1.2-1 | not yet assigned | Not reported | [1132163] |
| Debian | node-brace-expansion | source | forky | 2.0.3+~1.1.2-1 | not yet assigned | Not reported | [1132163] |
| Debian | node-brace-expansion | source | trixie | (unfixed) | not yet assigned | Not reported | [1132163] |
| Debian | node-brace-expansion | source | bookworm | (unfixed) | not yet assigned | Not reported | [1132163] |
| Cpe | brace-expansion | cpe | Not reported | 1.1.13 | Not reported | Not reported | Not reported |
| Cpe | brace-expansion | cpe | Not reported | 2.0.3 | Not reported | Not reported | Not reported |
| Cpe | brace-expansion | cpe | Not reported | 3.0.2 | Not reported | Not reported | Not reported |
| Cpe | brace-expansion | cpe | Not reported | 5.0.5 | Not reported | Not reported | Not reported |
| Npm | brace-expansion | npm | Not reported | 1.1.13 | Not reported | GHSA-F886-M6HF-6M8V | Not reported |
| Npm | brace-expansion | npm | Not reported | 3.0.2 | Not reported | Not reported | Not reported |
| Npm | brace-expansion | npm | Not reported | 2.0.3 | Not reported | Not reported | Not reported |
| Npm | brace-expansion | npm | Not reported | 1.1.13 | Not reported | Not reported | Not reported |
| Cpe | brace-expansion | cpe | Not reported | 5.0.5 | Not reported | NVD-CVE-2026-33750 | Not reported |
Notes
[trixie] node-brace-expansion: Minor issue [bookworm] node-brace-expansion: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-brace-expansion]Affected
Details (2)
2.0.1-2· all · bookwormAffected
nvd · node-brace-expansion · debian · bookworm; nvd · node-brace-expansion · debian · 12
2.0.1-2· all · bookwormAffected
nvd · node-brace-expansion · debian · bookworm; nvd · node-brace-expansion · debian · 12
[Debian 13 (Trixie)]
- [node-brace-expansion]Affected
Details (2)
2.0.1+~1.1.0-2· all · trixieAffected
nvd · node-brace-expansion · debian · 13
2.0.1+~1.1.0-2· all · trixieAffected
nvd · node-brace-expansion · debian · 13
Observed:
References
- [https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daaf2ab30e5794a/src/index.ts#L107-L113]
- [https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daaf2ab30e5794a/src/index.ts#L184]
- [https://github.com/juliangruber/brace-expansion/commit/311ac0d54994158c0a384e286a7d6cbb17ee8ed5]
- [https://github.com/juliangruber/brace-expansion/commit/7fd684f89fdde3549563d0a6522226a9189472a2]
- [https://github.com/juliangruber/brace-expansion/commit/b9cacd9e55e7a1fa588fe4b7bb1159d52f1d902a]
- [https://github.com/juliangruber/brace-expansion/issues/98]
- [https://github.com/juliangruber/brace-expansion/pull/95]
- [https://github.com/juliangruber/brace-expansion/pull/96]
- [https://github.com/juliangruber/brace-expansion/pull/97]
- [https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-f886-m6hf-6m8v]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-33750]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-33750]
- [https://osv.dev/vulnerability/GHSA-f886-m6hf-6m8v]
- [https://security-tracker.debian.org/tracker/CVE-2026-33750]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33750.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1654.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]