CVE-2026-33750
Last modified
CVE-2026-33750 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Juliangruber | Brace-Expansion | < 1.1.13 |
| Juliangruber | Brace-Expansion | >= 2.0.0, < 2.0.3 |
| Juliangruber | Brace-Expansion | >= 3.0.0, < 3.0.2 |
| Juliangruber | Brace-Expansion | >= 5.0.0, < 5.0.5 |
References
- https://github.com/juliangruber/brace-expansion/pull/95Issue Tracking, Patch
- https://github.com/juliangruber/brace-expansion/pull/96Issue Tracking, Patch
- https://github.com/juliangruber/brace-expansion/pull/97Issue Tracking, Patch
- https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-f886-m6hf-6m8vMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33750?
How severe is CVE-2026-33750?
How do I fix CVE-2026-33750?
Are you affected by CVE-2026-33750?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
