GHSA-mc9m-6fm9-pghc
MEDIUMZoo Design Studio: Memory-corruption in memory handling of lib-kcl
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>>.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | zoo-kcl | < 0.3.153 | 0.3.153 |
| OSV | crates.io | kcl-lib | < 0.2.153 | 0.2.153 |
References
- https://github.com/KittyCAD/modeling-app/security/advisories/GHSA-mc9m-6fm9-pghc · WEB
- https://github.com/KittyCAD/modeling-app · PACKAGE
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Aug 2026)