Zoo Design Studio: Memory-corruption in memory handling of lib-kcl
Priority LOW 38CWE-362Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
A race condition in kcl-lib can result in a use-after-free when accessing environments concurrently. During Vec reallocation, the previous buffer containing Box pointers is freed and replaced. A concurrent get_env operation that has already loaded a pointer to the old buffer may subsequently index into freed memory and retrieve a stale or corrupted Pin<Box<Environment>>.
Why it matters now
Fix Fixed zoo-kcl (PyPI): 0.3.153kcl-lib (crates.io): 0.2.153
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | zoo-kcl (PyPI) | before 0.3.153 | 0.3.153 | Patch available | GHSA-mc9m-6fm9-pghc |
| — | kcl-lib (crates.io) | before 0.2.153 | 0.2.153 | Patch available | GHSA-mc9m-6fm9-pghc |
- zoo-kcl (PyPI) Vendor— Affected before 0.3.153 Fixed in 0.3.153 Patch available GHSA-mc9m-6fm9-pghc
- kcl-lib (crates.io) Vendor— Affected before 0.2.153 Fixed in 0.2.153 Patch available GHSA-mc9m-6fm9-pghc
Remediation
- Fix · GHSA-mc9m-6fm9-pghc zoo-kcl (PyPI) Fixed in 0.3.153 Advisory →
- Fix · GHSA-mc9m-6fm9-pghc kcl-lib (crates.io) Fixed in 0.2.153 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-mc9m-6fm9-pghc
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences