GHSA-mc9m-6fm9-pghc

Suggest an improvement
Source
https://github.com/advisories/GHSA-mc9m-6fm9-pghc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-mc9m-6fm9-pghc/GHSA-mc9m-6fm9-pghc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mc9m-6fm9-pghc
Published
2026-08-20T18:34:11Z
Modified
2026-08-20T18:45:13Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
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>.

Database specific
{
    "cwe_ids":  [
        "CWE-362",
        "CWE-416"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-20T18:34:11Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / zoo-kcl

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.3.153

Affected versions

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-mc9m-6fm9-pghc/GHSA-mc9m-6fm9-pghc.json"

crates.io / kcl-lib

Package

Name
kcl-lib
View open source insights on deps.dev
Purl
pkg:cargo/kcl-lib

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.153

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-mc9m-6fm9-pghc/GHSA-mc9m-6fm9-pghc.json"