Vulnerability RUSTSEC-2026-0397

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
`OutBuffer::around_pos` exposes uninitialized memory
4.0.0+zstd.1.4.9 - 7.3.0 and 8.0.0 - 8.1.0
4.0.0+zstd.1.4.9 - 7.3.0 and 8.0.0 - 8.1.0

Summary

`OutBuffer::around_pos` exposes uninitialized memory

Details

OutBuffer::around_pos accepted a position past the initialized length of a Vec<u8>. The next streaming call then marked everything before the position as initialized, so safe code could read stale heap memory between the vector's previous length and that position.

The flaw was corrected by zero-filling that gap.

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