Advisory

GHSA-mc9m-6fm9-pghc

Also known as: None

Summary

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

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-08-20 18:34 UTC
Modified
2026-08-20 18:45 UTC

Affected packages and fixes

zoo-kcl

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.153 (ecosystem)

Fixed versions

0.3.153

Fix

  • Fixed version 0.3.153
    pip install --upgrade zoo-kcl==0.3.153

kcl-lib

crates.io · All systems

Affected

  • introduced 0, fixed 0.2.153 (semver)

Fixed versions

0.2.153

Fix

  • Fixed version 0.2.153
    cargo update -p kcl-lib --precise 0.2.153

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences