mediumVulnerability
GHSA-mc9m-6fm9-pghc
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>>.
Properties
- ghsa_id
- GHSA-mc9m-6fm9-pghc
- severity
- medium
- summary
- Zoo Design Studio: Memory-corruption in memory handling of lib-kcl
- cve_id
- GHSA-mc9m-6fm9-pghc
- is_ghsa_only
- true
- ghsa_published
- 2026-08-20T18:34:11Z
- source_url
- https://github.com/advisories/GHSA-mc9m-6fm9-pghc
- ghsa_updated
- 2026-08-20T18:34:13Z
Related Entities (7)
HAS_WEAKNESS (2)
→[Weakness]Use After Free
→[Weakness]Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
REPORTED_BY (1)
→[Source]GitHub Advisory Database
VULNERABLE_TO (2)
←[Software]rust/kcl-lib
←[Software]pip/zoo-kcl
AFFECTS (2)
→[Software]pip/zoo-kcl
→[Software]rust/kcl-lib
Explore deeper with Ninja Signal's threat intelligence graph