GHSA-jgvr-6x5w-hx5w: Zoo Design Studio: Recursive KCL parsing is vulnerable to denial-of-service
Impact Feeding a KCL program that wraps an expression in deep, unnecessary parentheses triggers the parser’s recursive expression - unnecessarilybracketed - expression path. With enough nesting, the call stack grows until it exceeds the process stack limit, causing a stack overflow.
Published Aug 20, 2026
Affected packages
zoo-kcl
- Ecosystem
- PyPI
- Affected
- < 0.3.129
- Fixed in
- 0.3.129
- Check
pip show zoo-kcl
kcl-lib
- Ecosystem
- Rust (crates.io)
- Affected
- < 0.2.129
- Fixed in
- 0.3.129
- Check
cargo tree -i kcl-lib
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to maxammann.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
