RUSTSEC-2026-0396
not scored yet`Seekable` reads a NULL or out-of-bounds seek table
Seekable did not record whether it was initialized. On a fresh Seekable,
or one whose init_buff() failed, decompress, offset_to_frame_index and
frame_decompressed_size made the C library read a NULL seek table. After a
failed re-initialization, decompress returned data from the refused buffer
using the previous seek table.
Separately, frame_decompressed_size(num_frames()), on Seekable and
SeekTable, read one entry past the end of the seek table.
The flaw was corrected by refusing to use a Seekable until an
initialization succeeded, and by checking the frame index.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | zstd-safe | >= 7.2.2, < 7.4.0; >= 8.0.0-0, < 8.2.0 | 7.4.0, 8.2.0 |
References
- https://crates.io/crates/zstd-safe · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0396.html · ADVISORY
- https://github.com/gyscos/zstd-rs/commit/a9626069d6f2e90b782b8f627f57a361cfe8ef85 · WEB
- https://github.com/gyscos/zstd-rs/pull/384 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Oct 2026)