Vulnerability RUSTSEC-2026-0399
Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
24 days ago
October 16, 2026 at 12:00 PM UTC
Use-after-free through `init_using_cdict` and `init_using_ddict`
>=3.0.0 <7.4.0, >=8.0.0-0 <8.2.0
>=3.0.0 <7.4.0, >=8.0.0-0 <8.2.0
Summary
Use-after-free through `init_using_cdict` and `init_using_ddict`
Details
CCtx::init_using_cdict and DCtx::init_using_ddict (experimental feature, deprecated) took the dictionary as &CDict<'b> and &DDict<'b> with only 'b: 'a, so the dictionary itself could be dropped while the context still pointed at it. The same mistake in other constructors was fixed earlier ( https://github.com/gyscos/zstd-rs/issues/365).
The flaw was corrected by taking &'a CDict<'b> and &'a DDict<'b>.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Unknown
24 days ago
Use-after-free with `CParameter::StableInBuffer`
>=4.1.0 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0395
>=4.1.0 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0395
Unknown
24 days ago
`Seekable` reads a NULL or out-of-bounds seek table
>=7.2.2 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0396
>=7.2.2 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0396
Unknown
24 days ago
`OutBuffer::around_pos` exposes uninitialized memory
>=4.0.0 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0397
>=4.0.0 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0397
Unknown
24 days ago
`Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end
>=7.2.2 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0398
>=7.2.2 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0398
Unknown
24 days ago
Use-after-free of a dictionary after a one-shot call on a context with an open stream
>=3.0.1 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0400
>=3.0.1 <7.4.0, >=8.0.0-0 <8.2.0 RUSTSEC-2026-0400
Impacted packages
Timeline
Published
24 days ago
October 16, 2026 at 12:00 PM UTC
Fixed (8.2.0)
24 days ago
October 16, 2026 at 04:59 PM UTC
Fixed (7.4.0)
8 days ago
November 01, 2026 at 02:11 PM UTC
Last Modified
7 days ago
November 02, 2026 at 09:30 AM UTC