Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🦀 crates.io🐍 PyPI
Not in CISA KEV

GHSA-jgvr-6x5w-hx5w — kcl-lib

GHSA-jgvr-6x5w-hx5w is a remote code execution vulnerability in kcl-lib. A fix is available for kcl-lib — see the affected versions and patch details below.

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

Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Aug 20, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

2 pkgs affected
🦀kcl-lib🐍zoo-kcl

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io, PyPI packages — download data is not available via public APIs for these ecosystems.

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

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🦀crates.iokcl-liball versions0.3.129cargo update -p kcl-lib --precise 0.3.129
🐍PyPIzoo-kclall versions0.3.129pip install --upgrade 'zoo-kcl==0.3.129'

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for kcl-lib, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update kcl-lib to 0.3.129 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-jgvr-6x5w-hx5w is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Frequently Asked Questions

### 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.
O3 Security · Impact-Aware SCA

Is GHSA-jgvr-6x5w-hx5w in your dependencies?

Find it across crates.io, PyPI, including transitive dependencies.

GHSA-jgvr-6x5w-hx5w: Fixed in 0.3.129 | O3 Security