Skip to content
OpenAdvisories
Medium GHSA-jgvr-6x5w-hx5w

Zoo Design Studio: Recursive KCL parsing is vulnerable to denial-of-service

Published Aug 20, 2026 · Updated Aug 20, 2026 · Assigned by GHSA

Description

### Impact
Feeding a KCL program that wraps an expression in deep, unnecessary parentheses triggers the parser’s recursive `expression` -> `unnecessarily_bracketed` -> `expression` path. With enough nesting, the call stack grows until it exceeds the process stack limit, causing a stack overflow.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io kcl-lib < 0.3.129 0.3.129 GHSA-jgvr-6x5w-hx5w
PyPI zoo-kcl < 0.3.129 0.3.129 GHSA-jgvr-6x5w-hx5w

References