{"id":"GHSA-mc9m-6fm9-pghc","revision":"21a5b634182b45ebb9f20fe84828c982","records":[{"revision":"21a5b634182b45ebb9f20fe84828c982","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-mc9m-6fm9-pghc","aliases":[],"title":"Zoo Design Studio: Memory-corruption in memory handling of lib-kcl","description":"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>>.","state":0,"publishedAt":"2026-08-20T18:34:11+00:00","modifiedAt":"2026-08-20T18:45:13.4431816+00:00","affected":[{"ecosystem":"PyPI","name":"zoo-kcl","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.3.153"}]}],"versions":["0.3.135","0.3.136","0.3.137","0.3.138","0.3.139","0.3.140","0.3.141","0.3.142","0.3.143","0.3.144","0.3.145","0.3.146","0.3.147","0.3.148","0.3.150","0.3.151","0.3.152"],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"kcl-lib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.153"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/KittyCAD/modeling-app/security/advisories/GHSA-mc9m-6fm9-pghc","https://github.com/KittyCAD/modeling-app"],"sourceUrl":"https://github.com/advisories/GHSA-mc9m-6fm9-pghc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mc9m-6fm9-pghc","identifiers":["GHSA-mc9m-6fm9-pghc"]},"retained":false,"historicalAffected":[]}],"coverage":[]}