Arbitrary String Generation Vulnerability in Brace Expansion Library by Julian Gruber
CVE-2026-45149
6.5MEDIUM
What is CVE-2026-45149?
The Brace Expansion Library allows for arbitrary string generation, resulting from a late application of the max option in versions 5.0.0 through 5.0.5. This issue arises when processing large numeric ranges, for instance, {1..10000000}, which causes extensive memory allocation (~505 MB) and processing time (~800ms) as it generates all elements before applying the intended limit. This vulnerability has been addressed in version 5.0.6.
Affected Version(s)
brace-expansion >= 5.0.0, < 5.0.6
