CVE Vulnerabilities

CVE-2026-45149

Uncontrolled Resource Consumption

Published: May 29, 2026 | Modified: Jun 17, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~800ms building the full intermediate array. This vulnerability is fixed in 5.0.6.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
Brace-expansionJuliangruber5.0.0 (including)5.0.6 (excluding)
Red Hat Hardened ImagesRedHatnodejs26-main-26.3.0-1.2.hum1*
Red Hat Hardened ImagesRedHatrust-main-1.96.0-1.hum1*
Red Hat Hardened ImagesRedHatllvm21-main-21.1.8-6.hum1*
Red Hat Hardened ImagesRedHatnodejs25-main-25.9.0-1.1.hum1*
Red Hat Hardened ImagesRedHatllvm-main-21.1.8-1.1.hum1*
Red Hat Hardened ImagesRedHatyarnpkg-main-1.22.22-18.1.hum1*
Red Hat Hardened ImagesRedHatnodejs20-main-20.20.2-1.hum1*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References