7.5High
CVE-2026-93687braces through 3.0.3 Stack Overflow via Deeply Nested Patterns
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.
Weakness (CWE):
CWE-674
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| jonschlinkert | braces | ≤ 3.0.3 | |
| micromatch | braces | ≤ 3.0.3 |
References and patches
- GitHub Issue #70 issue-tracking
- https://github.com/micromatch/braces product
- https://github.com/micromatch/braces/blob/3.0.3/lib/compile.js#L49-L53 technical-description
- https://github.com/micromatch/braces/blob/3.0.3/lib/expand.js#L102-L105 technical-description
- https://github.com/micromatch/braces/blob/3.0.3/lib/parse.js#L38-L40 technical-description
- VulnCheck Advisory: braces through 3.0.3 Stack Overflow via Deeply Nested Patterns third-party-advisory
- https://github.com/advisories/ghsa-vfj7-8cjw-p6xm
- https://github.com/micromatch/braces/issues/73#issuecomment-5996574974