GHSA-x3f4-45xf-rjm7
medium
`ruzstd` uninit and out-of-bounds memory reads
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2024-0400
Description
Affected versions of ruzstd miscalculate the length of the allocated and init section of its internal RingBuffer, leading to uninitialized or out-of-bounds reads in copy_bytes_overshooting of up to 15 bytes.
This may result in up to 15 bytes of memory contents being written into the decoded data when decompressing a crafted archive. This may occur multiple times per archive.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ruzstd (crates.io) | from 0.7.0 before 0.7.3 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-x3f4-45xf-rjm7 changed 2026-09-10 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2024-0400 changed 2025-10-28 | CC0-1.0 |