Intel

AIKIDO-2026-312946

brace-expansion is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-14257 Published Today

75

High Risk

This Affects:

JAVAbrace-expansion
0.0.1 - 5.0.7
Fixed in 5.0.8
Are you affected? Scan for Free

TL;DR

The expand() function caps the number of results it produces but does not bound the total length of those results, so chaining many brace groups makes each result grow until process memory is exhausted. A small crafted input can trigger an uncatchable out-of-memory crash, and deeply chained groups can also overflow the call stack. The fix introduces an EXPANSION_MAX_LENGTH limit configurable through a maxLength option that bounds cumulative expansion output and expands the tail iteratively instead of recursing per brace group.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

brace-expansion is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 5.0.7.

How to fix this

Upgrade the org.mvnpm:brace-expansion library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform