{"id":"RUSTSEC-2026-0396","aliases":[],"title":"`Seekable` reads a NULL or out-of-bounds seek table","titleSource":"OSV","descriptionSource":"OSV","description":"`Seekable` did not record whether it was initialized. On a fresh `Seekable`,\nor one whose `init_buff()` failed, `decompress`, `offset_to_frame_index` and\n`frame_decompressed_size` made the C library read a NULL seek table. After a\nfailed re-initialization, `decompress` returned data from the refused buffer\nusing the previous seek table.\n\nSeparately, `frame_decompressed_size(num_frames())`, on `Seekable` and\n`SeekTable`, read one entry past the end of the seek table.\n\nThe flaw was corrected by refusing to use a `Seekable` until an\ninitialization succeeded, and by checking the frame index.","severity":"unknown","score":null,"published":"2026-10-16T12:00:00.000Z","modified":"2026-11-02T09:30:03.400Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"zstd-safe","sources":[{"name":"OSV · RUSTSEC-2026-0396","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0396"}],"ranges":[{"events":[{"introduced":"7.2.2"},{"fixed":"7.4.0"},{"introduced":"8.0.0-0"},{"fixed":"8.2.0"}],"type":"SEMVER"}],"versions":[],"fixed":["7.4.0","8.2.0"]}],"sourceAffected":[],"references":["https://crates.io/crates/zstd-safe","https://rustsec.org/advisories/RUSTSEC-2026-0396.html","https://github.com/gyscos/zstd-rs/commit/a9626069d6f2e90b782b8f627f57a361cfe8ef85","https://github.com/gyscos/zstd-rs/pull/384"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0396","modified":"2026-11-02T09:30:03.400899521Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0396"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-02T09:40:54.138Z","kev":{"status":"unavailable","checkedAt":"2026-11-28T23:15:32.077Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}