Vulnerability RUSTSEC-2026-0405
Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
17 days ago
October 16, 2026 at 12:00 PM UTC
Out-of-bounds read with an out-of-range `InBuffer::pos`
7.2.2 - 7.3.0 and 8.0.0 - 8.1.0
7.2.2 - 7.3.0 and 8.0.0 - 8.1.0
Summary
Out-of-bounds read with an out-of-range `InBuffer::pos`
Details
InBuffer's fields are public, so safe code can set pos past the end of src. The position was passed to the C library unchecked, and ZSTD_seekable_compressStream, unlike the other streaming functions, does not validate it: it read past the end of the input slice, by up to the frame size, and compressed that memory into the output.
The flaw was corrected by checking the position before every call into the C library.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Unknown
17 days ago
Use-after-free with `CParameter::StableInBuffer`
4.1.0+zstd.1.5.0 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0395
4.1.0+zstd.1.5.0 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0395
Unknown
17 days ago
`Seekable` reads a NULL or out-of-bounds seek table
7.2.2 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0396
7.2.2 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0396
Unknown
17 days ago
`OutBuffer::around_pos` exposes uninitialized memory
4.0.0+zstd.1.4.9 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0397
4.0.0+zstd.1.4.9 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0397
Unknown
17 days ago
`Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end
7.2.2 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0398
7.2.2 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0398
Unknown
17 days ago
Use-after-free through `init_using_cdict` and `init_using_ddict`
3.0.0+zstd.1.4.8 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0399
3.0.0+zstd.1.4.8 - 7.3.0 and 8.0.0 - 8.1.0 RUSTSEC-2026-0399
Impacted packages
Timeline
Published
17 days ago
October 16, 2026 at 12:00 PM UTC
Fixed (8.2.0)
16 days ago
October 16, 2026 at 04:59 PM UTC
Fixed (7.4.0)
1 day ago
November 01, 2026 at 02:11 PM UTC
Last Modified
4 hours ago
November 02, 2026 at 09:30 AM UTC