{"id":"GHSA-x3f4-45xf-rjm7","revision":"a2de1c1d8e714aabb75215769763c306","records":[{"revision":"a2de1c1d8e714aabb75215769763c306","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-x3f4-45xf-rjm7","aliases":["RUSTSEC-2024-0400"],"title":"`ruzstd` uninit and out-of-bounds memory reads","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.\n\nThis 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.\n","state":0,"publishedAt":"2024-12-02T21:34:27+00:00","modifiedAt":"2026-09-10T03:50:21.7708695+00:00","affected":[{"ecosystem":"crates.io","name":"ruzstd","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.7.0"},{"kind":"fixed","version":"0.7.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/KillingSpark/zstd-rs/issues/75","https://github.com/KillingSpark/zstd-rs/pull/76","https://github.com/KillingSpark/zstd-rs","https://rustsec.org/advisories/RUSTSEC-2024-0400.html"],"sourceUrl":"https://github.com/advisories/GHSA-x3f4-45xf-rjm7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x3f4-45xf-rjm7","identifiers":["GHSA-x3f4-45xf-rjm7","RUSTSEC-2024-0400"]},"retained":false,"historicalAffected":[]}],"coverage":[]}