All reports
High

braces: braces: Denial of Service via Stack Overflow from Deeply Nested Patterns

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-93687

Probability of exploitation in the next 30 days: 0.78%

FIRST EPSS · 2026-11-18

Description

braces through 3.0.3 contains a stack overflow vulnerability in the recursive AST walkers that lack depth guards. Attackers can supply deeply nested brace patterns under the character limit to exhaust the call stack and terminate the Node.js process with an uncaught RangeError.

A flaw was found in braces. This stack overflow vulnerability exists in the recursive Abstract Syntax Tree (AST) walkers due to a lack of depth guards. A remote attacker can exploit this by supplying deeply nested brace patterns, leading to the exhaustion of the call stack and termination of the Node.js process, resulting in a Denial of Service (DoS).