Uncontrolled Recursion in brace-expansion - CVE-2026-102278

 

Uncontrolled Recursion in brace-expansion - CVE-2026-102278

Published: November 10, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing applications using brace-expansion.

The vulnerability exists due to uncontrolled recursion in brace-expansion's expand_() function when expanding nested comma alternatives or single-part brace sets. A remote attacker can supply strings generated by '{a,'.repeat(4000) + 'z' + '}'.repeat(4000) or '{'.repeat(3200) + 'a,b' + '}'.repeat(3200) to expand(), directly or through user-supplied minimatch/glob patterns, to exhaust the stack and terminate the process if the resulting exception is uncaught.


Affected software

brace-expansion
Db2 Developer Extension
Fedora
nodejs22
nodejs26

How to mitigate CVE-2026-102278

Install security update from vendor's website.

brace-expansion - addressed in versions 1.1.20, 2.1.6, 3.0.8, 5.0.11
Db2 Developer Extension - update to 1.2.1
nodejs22 - update to 22.23.4-4.fc45
nodejs26 - update to 26.12.1-2.fc45

External References

Related Security Bulletins