Inefficient Algorithmic Complexity in brace-expansion - CVE-2026-102277

 

Inefficient Algorithmic Complexity in brace-expansion - CVE-2026-102277

Published: November 10, 2026


Vulnerability identifier: #VU164363
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-102277
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause temporary denial of service through excessive CPU consumption and memory pressure.

The vulnerability exists due to inefficient algorithmic complexity in the brace-expansion parser when processing {a},b}-shaped patterns, as each rewrite rescans an expanding string. A remote attacker can supply patterns constructed as '{a}' + '}'.repeat(n) + ',z}' to expand(), directly or through minimatch or glob, to trigger quadratic processing time and block the application's event loop.


Affected software

brace-expansion
Db2 Developer Extension

How to mitigate CVE-2026-102277

Install security update from vendor's website.

brace-expansion - addressed in versions 1.1.21, 2.1.7, 3.0.9, 5.0.12
Db2 Developer Extension - update to 1.2.1

External References

Related Security Bulletins