# GHSA-jgvr-6x5w-hx5w: Zoo Design Studio: Recursive KCL parsing is vulnerable to denial-of-service

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-20T18:34:05.000Z
- Modified: 2026-08-20T18:45:14.889Z
- Weaknesses: CWE-770

## 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.

(As written by GitHub Advisory Database.)

## Affected

- zoo-kcl (PyPI): before 0.3.129
- kcl-lib (crates.io): before 0.3.129

## References

- <https://github.com/KittyCAD/modeling-app/security/advisories/GHSA-jgvr-6x5w-hx5w> (web)
- <https://github.com/KittyCAD/modeling-app> (package)

## Sources

- GitHub Advisory Database: [GHSA-jgvr-6x5w-hx5w](https://github.com/advisories/GHSA-jgvr-6x5w-hx5w), CC-BY-4.0, modified 2026-08-20

---

Page: https://cve.day/GHSA-jgvr-6x5w-hx5w · Whole record: https://cve.day/GHSA-jgvr-6x5w-hx5w.json · Rebuilt by cve.day 2026-11-25T22:56:35.756Z
