Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Juliangruber | Brace-Expansion | < 1.1.13 |
Related Weaknesses (CWE)
References
- https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daPatch
- https://github.com/juliangruber/brace-expansion/blob/daa71bcb4a30a2df9bcb7f7b8daPatch
- https://github.com/juliangruber/brace-expansion/commit/311ac0d54994158c0a384e286Patch
- https://github.com/juliangruber/brace-expansion/commit/7fd684f89fdde3549563d0a65Patch
- https://github.com/juliangruber/brace-expansion/commit/b9cacd9e55e7a1fa588fe4b7bPatch
- https://github.com/juliangruber/brace-expansion/issues/98Issue Tracking
- https://github.com/juliangruber/brace-expansion/pull/95Issue TrackingPatch
- https://github.com/juliangruber/brace-expansion/pull/96Issue TrackingPatch
- https://github.com/juliangruber/brace-expansion/pull/97Issue TrackingPatch
- https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-f886-m6MitigationVendor Advisory
FAQ
What is CVE-2026-33750?
CVE-2026-33750 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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.....
How severe is CVE-2026-33750?
CVE-2026-33750 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-33750?
Check the references section above for vendor advisories and patch information. Affected products include: Juliangruber Brace-Expansion.