Arbitrary String Generation Vulnerability in Brace Expansion Library by Julian Gruber
CVE-2026-45149

6.5MEDIUM

Key Information:

Vendor
CVE Published:
29 May 2026

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

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.