{"cve":"CVE-2026-33750","nvd":{"published":"2026-03-27T15:16:57.297","modified":"2026-10-26T22:10:00.163","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"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"],"products":["juliangruber:brace-expansion"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-33750","score":0.00447,"percentile":0.38642,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-f886-m6hf-6m8v","url":"https://osv.dev/vulnerability/GHSA-f886-m6hf-6m8v","summary":"brace-expansion: Zero-step sequence causes process hang and memory exhaustion","modified":"2026-09-10T03:51:00.342356761Z","packages":[{"ecosystem":"npm","name":"brace-expansion","purl":"pkg:npm/brace-expansion","ranges":[">=4.0.0 <5.0.5"],"fixed":["5.0.5"]},{"ecosystem":"npm","name":"brace-expansion","purl":"pkg:npm/brace-expansion","ranges":[">=3.0.0 <3.0.2"],"fixed":["3.0.2"]},{"ecosystem":"npm","name":"brace-expansion","purl":"pkg:npm/brace-expansion","ranges":[">=2.0.0 <2.0.3"],"fixed":["2.0.3"]},{"ecosystem":"npm","name":"brace-expansion","purl":"pkg:npm/brace-expansion","ranges":["<1.1.13"],"fixed":["1.1.13"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}