PublishedRUSTSEC-2026-0397·
5.0Medium
No exploitation in the wild has been reported. Fixed in zstd-safe 8.2.0.
`OutBuffer::around_pos` accepted a position past the initialized length of a `Vec<u8>`. The next streaming call then marked everything before the position as initialized, so safe code could read stale heap memory between the vector's previous length and that position. The flaw was corrected by zero-filling that gap.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| cargo: zstd-safe | >=8.0.0-0 <8.2.0 | 8.2.0 |
Every event on this vulnerability
Other vulnerabilities in zstd-safe (Cargo), strongest first
A live severity badge for an advisory, README or ticket