GHSA-mc9m-6fm9-pghc
JSON

medium

Zoo Design Studio: Memory-corruption in memory handling of lib-kcl

Severity
medium CVSS:4.0 by GitHub
Published
Last changed

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

Affected

Product or packageVersionsReported by
zoo-kcl (PyPI)before 0.3.153GitHub Advisory Database
kcl-lib (crates.io)before 0.2.153GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-mc9m-6fm9-pghc changed 2026-08-20CC-BY-4.0