Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-14257— brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash

Quick assessment

Affected
juliangruber brace-expansion
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Julian Gruber brace-expansion是Julian Gruber个人开发者开源的一个JavaScript中的Brace扩展。 Julian Gruber brace-expansion 5.0.7及之前版本存在资源管理错误漏洞,该漏洞源于expand()函数未限制结果字符串长度,可能导致通过内存耗尽触发拒绝服务。

CVSS 7.5 · High EPSS 0.64% · P50

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 1

VendorProduct Version RangeStatus
juliangruber brace-expansion ≤ 5.0.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-14257

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash
Source: CVE Program / CVE List V5
Vulnerability Description
brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function limits the number of results with a max option (default 100,000) but does not bound the length of each result string. By chaining multiple brace groups, an attacker keeps the result count under the limit while making each result progressively longer, so total memory scales with both count and string length until the process hits a fatal, uncatchable out-of-memory error. About 7.5 KB of input ('{a,b}'.repeat(1500)) crashes a default Node.js process. Any application that passes attacker-influenced strings to brace-expansion.expand() - directly or transitively via minimatch / glob brace patterns - can be crashed by a small request. Fixed in 5.0.8 by adding a maxLength option (default 4,000,000) that bounds accumulated output and intermediate arrays.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
Julian Gruber brace-expansion 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Julian Gruber brace-expansion是Julian Gruber个人开发者开源的一个JavaScript中的Brace扩展。 Julian Gruber brace-expansion 5.0.7及之前版本存在资源管理错误漏洞,该漏洞源于expand()函数未限制结果字符串长度,可能导致通过内存耗尽触发拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
juliangruber brace-expansion 0 ~ 5.0.7 -

II. Public POCs for CVE-2026-14257

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: process completed normally (exit code 0, 815 ms). The maxLength cap in v5.0.8 bounds accumulated output, preventing the OOM crash described in the CVE.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
Qwen3.6-35B-A3B · 7033 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-14257

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-14257 (1)

Vendor Pages for CVE-2026-14257 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-14257

No comments yet


Leave a comment