PT-2026-28527 · Npm · Brace-Expansion

Published

2026-03-26

·

Updated

2026-05-18

·

CVE-2026-33750

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions brace-expansion versions prior to 5.0.5 brace-expansion versions prior to 3.0.2 brace-expansion versions prior to 2.0.3 brace-expansion versions prior to 1.1.13
Description The brace-expansion library is susceptible to a denial-of-service condition. A brace pattern with a zero step value (e.g., {1..2..0}) causes the sequence generation loop to run indefinitely, leading to a process hang and excessive memory allocation. The issue stems from the increment calculation within the loop, where a step value of zero results in no advancement of the loop variable. This affects applications that pass untrusted strings to the expand() function or inadvertently set a step value of 0. The input required to trigger this issue is minimal, approximately 10 bytes.
Recommendations Versions prior to 5.0.5 should be upgraded. Versions prior to 3.0.2 should be upgraded. Versions prior to 2.0.3 should be upgraded. Versions prior to 1.1.13 should be upgraded. As a temporary workaround, sanitize strings passed to the expand() function to ensure a step value of 0 is not used.

Exploit

Fix

Resource Exhaustion

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-AD27625
CLEANSTART-2026-BE61221
CLEANSTART-2026-CE10526
CLEANSTART-2026-KS09647
CLEANSTART-2026-LC05413
CLEANSTART-2026-NB51079
CLEANSTART-2026-TW25027
CLEANSTART-2026-TZ34913
CVE-2026-33750
GHSA-F886-M6HF-6M8V
OESA-2026-1835

Affected Products

Brace-Expansion