Skip to main content
← All vulnerabilities
RUSTSEC-2026-0396

`Seekable` reads a NULL or out-of-bounds seek table

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.2.0
None on Exploit-DB, Metasploit or GitHub

Summary

The `Seekable` component of the zstd seekable-format library (used through its Rust bindings) can read a NULL or out-of-bounds seek table, which can crash the program or return data from a previously loaded buffer after a failed re-initialization. Applications that use seekable zstd decompression to access compressed data by offset or frame index are affected.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

`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.

Timeline

  1. Advisory published
  2. Record last updated

Affected versions

  • zstd-safecrates.io

    From 7.2.2 · fixed in 8.2.0

References 4

crates.io

rustsec.org

GitHub · gyscos/zstd-rs