Install
zstd-safe
Safe low-level bindings for the zstd compression library.
8.4.0Latest, 24 Nov 2026
149MDownloads, last 90 days
0Advisories on the latest
12Advisories, all versions
BSD-3-ClauseLicence
671Stars
4.7/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Use-after-free with `CParameter::StableInBuffer` RUSTSEC-2026-0395 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| `Seekable` reads a NULL or out-of-bounds seek table RUSTSEC-2026-0396 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| `OutBuffer::around_pos` exposes uninitialized memory RUSTSEC-2026-0397 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| `Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end RUSTSEC-2026-0398 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Use-after-free through `init_using_cdict` and `init_using_ddict` RUSTSEC-2026-0399 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Use-after-free of a dictionary after a one-shot call on a context with an open stream RUSTSEC-2026-0400 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Out-of-bounds read in `train_from_buffer` when sample sizes overflow RUSTSEC-2026-0401 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Heap buffer overflow in `CCtx::try_clone` on a multithreaded context RUSTSEC-2026-0402 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Uninitialized memory exposed when streaming decompression of a legacy frame fails RUSTSEC-2026-0403 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Double free in `DCtx::try_clone` RUSTSEC-2026-0404 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Out-of-bounds read with an out-of-range `InBuffer::pos` RUSTSEC-2026-0405 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 | |
| Use-after-free when changing a multithreaded context with an unfinished frame RUSTSEC-2026-0406 | Fixed in 7.4.0, 8.2.0 | 16 Oct 2026 |
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.