Use-after-free when changing a multithreaded context with an unfinished frame
When a multithreaded frame (zstdmt feature, CParameter::NbWorkers) is left unfinished, its jobs may still be running on the worker threads: the C library only waits for them when the next frame starts, or when the context is freed. A session reset makes the context accept changes again in the meantime, so:
Recorded fixes — zstd-safe: 7.4.0 or 8.2.0. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 7.4.0Semantic versions | 7.4.0 |
| From 8.0.0-0 before 8.2.0Semantic versions | 8.2.0 |
Version evidence: OSV · RUSTSEC-2026-0406
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "7.4.0"
},
{
"introduced": "8.0.0-0"
},
{
"fixed": "8.2.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}