CVE-2026-93687

braces through 3.0.3 Stack Overflow via Deeply Nested Patterns

Published Sep 18, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The braces library (v3.0.3) contains a stack overflow caused by recursive abstract syntax tree walkers that lack depth guarding. An attacker can craft deeply nested brace patterns within the allowed character limit. When the parser processes these patterns, the unbounded recursion exhausts the Node.js call stack and throws an uncaught RangeError, terminating the Node.js process and resulting in a denial‑of‑service condition.

Affected Systems

Any Node.js application that imports or depends on micromatch braces version 3.0.3 is affected, as the library's recursive walkers are used during pattern compilation.

Risk and Exploitability

The CVSS score of 8.7 reflects high severity, while the EPSS score of < 1% indicates a very low but nonzero probability of exploitation. The vulnerability is not listed in CISA KEV. Attackers only need to supply a malicious pattern to trigger the stack overflow; the vector is likely local or remote through user-supplied input to the braces parser, and the exploitation does not require elevated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade micromatch braces to a version newer than 3.0.3 that implements depth guards for its recursive walkers.
  • Add input validation to limit the nesting depth of brace patterns before they reach the library, preventing recursion from exceeding a safe threshold.
  • If an upgrade is not possible in the short term, sanitize or reject user‑supplied patterns that approach the maximum nesting depth or replace braces processing with a safer alternative.

Generated by OpenCVE AI on September 23, 2026 at 02:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vfj7-8cjw-p6xm Withdrawn Advisory: braces vulnerable to stack-exhaustion denial of service through deeply nested patterns
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Micromatch
Micromatch braces
Vendors & Products Micromatch
Micromatch braces
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title braces through 3.0.3 Stack Overflow via Deeply Nested Patterns
First Time appeared Jonschlinkert
Jonschlinkert braces
Weaknesses CWE-674
CPEs cpe:2.3:a:jonschlinkert:braces:*:*:*:*:*:node.js:*:*
Vendors & Products Jonschlinkert
Jonschlinkert braces
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 2:42 PM
Reserved
Sep 18, 2026, 2:39 PM
Status
Awaiting Analysis
Published
Sep 18, 2026, 4:17 PM
Modified
Nov 5, 2026, 3:17 PM
Severity
Important
Public date
Sep 18, 2026, 3:06 PM