DHI-nas2-kcb3-emc6-dudt
brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function limits…
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-28
- Product
- jupyterhub-k8s-singleuser-sample-fips
Description
brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function limits the number of results with a max option (default 100,000) but does not bound the length of each result string. By chaining multiple brace groups, an attacker keeps the result count under the limit while making each result progressively longer, so total memory scales with both count and string length until the process hits a fatal, uncatchable out-of-memory error. About 7.5 KB of input ('{a,b}'.repeat(1500)) crashes a default Node.js process. Any application that passes attacker-influenced strings to brace-expansion.expand() - directly or transitively via minimatch / glob brace patterns - can be crashed by a small request. Fixed in 5.0.8 by adding a maxLength option (default 4,000,000) that bounds accumulated output and intermediate arrays.
Sources
- OSV · first seen 8d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-nas2-kcb3-emc6-dudt advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-14257 advisory
- https://github.com/juliangruber/brace-expansion/commit/a1bd33999ea75262c4749fff3bbb0d1372bd07b5 fix
- https://www.npmjs.com/package/brace-expansion web
- https://github.com/juliangruber/brace-expansion web
- https://errata.almalinux.org/8/ALSA-2026-54371.html advisory
- https://access.redhat.com/errata/RHSA-2026:54371 advisory
- https://errata.almalinux.org/8/ALSA-2026-54530.html advisory
- https://access.redhat.com/errata/RHSA-2026:54530 advisory
- https://errata.almalinux.org/9/ALSA-2026-55601.html advisory
- https://access.redhat.com/errata/RHSA-2026:55601 advisory
- https://errata.almalinux.org/9/ALSA-2026-55603.html advisory
- https://access.redhat.com/errata/RHSA-2026:55603 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3297.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-73566 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-69192 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-69152 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-14257 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-102276 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-14257 advisory
- https://github.com/advisories/GHSA-mh99-v99m-4gvg advisory
- https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-mh99-v99m-4gvg advisory
- https://github.com/juliangruber/brace-expansion/pull/136 fix
- https://github.com/juliangruber/brace-expansion/pull/130 fix
- https://github.com/juliangruber/brace-expansion/pull/129 fix