
CVE catalog
CVE-2026-45149
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large nume
- 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.30% · Oct 25, 2026
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~800ms building the full intermediate array. This vulnerability is fixed in 5.0.6.
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 | 5.0.6 | 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-3 | not yet assigned | Not reported | [1138576] |
| Debian | node-brace-expansion | source | forky | 2.0.3+~1.1.2-3 | not yet assigned | Not reported | [1138576] |
| Debian | node-brace-expansion | source | trixie | (unfixed) | not yet assigned | Not reported | [1138576] |
| Debian | node-brace-expansion | source | bookworm | (unfixed) | not yet assigned | Not reported | [1138576] |
| Cpe | brace-expansion | cpe | Not reported | 5.0.6 | Not reported | Not reported | 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://nvd.nist.gov/vuln/detail/CVE-2026-45149]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-45149]
- [https://security-tracker.debian.org/tracker/CVE-2026-45149]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45149.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2118.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]