8.7high
braces through 3.0.3 Stack Overflow via Deeply Nested Patterns
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.59% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-vfj7-8cjw-p6xm
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| micromatch braces | up to 3.0.3 | CVE List |
| braces (npm) | up to 3.0.3 | GitHub Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Withdrawn Advisory
This advisory has been withdrawn because it's not a practically exploitable vulnerability. This link is maintained to preserve external references.
Original 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.
References
| https://github.com/micromatch/braces/issues/70 | issue-tracking, web | |
| https://github.com/micromatch/braces | package, product | |
| https://github.com/micromatch/braces/blob/3.0.3/lib/compile.js#L49-L53 | technical-description, web | |
| https://github.com/micromatch/braces/blob/3.0.3/lib/expand.js#L102-L105 | technical-description, web | |
| https://github.com/micromatch/braces/blob/3.0.3/lib/parse.js#L38-L40 | technical-description, web | |
| https://www.vulncheck.com/advisories/braces-through-3.0.3-stack-overflow-via-deeply-nested-patterns | third-party-advisory, web | |
| https://github.com/micromatch/braces/issues/73#issuecomment-5996574974 | web | |
| https://github.com/advisories/ghsa-vfj7-8cjw-p6xm | ||
| https://nvd.nist.gov/vuln/detail/CVE-2026-93687 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-93687 changed 2026-11-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vfj7-8cjw-p6xm changed 2026-10-23 | CC-BY-4.0 |
| NVD | CVE-2026-93687 changed 2026-11-05 | Public domain |