{"id":"CVE-2021-31919","aliases":["GHSA-w5cr-frph-hw7f","RUSTSEC-2021-0054"],"url":"https://o3.security/vulnerability/CVE-2021-31919","summary":"Use of uninitialized buffer in rkyv","details":"An issue was discovered in the rkyv crate before 0.6.0 for Rust. When an archive is created via serialization, the archive content may contain uninitialized values of certain parts of a struct.","published":"2021-04-30T03:15:07.517Z","modified":"2026-08-27T08:40:34.279222Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"rkyv","fixedVersion":"0.6.0"}],"fix":{"url":"https://github.com/djkoloski/rkyv/commit/9c65ae9c2c67dd949b5c3aba9b8eba6da802ab7e","label":"djkoloski/rkyv@9c65ae9"},"references":[{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0054.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31919"},{"type":"WEB","url":"https://github.com/djkoloski/rkyv/issues/113"},{"type":"WEB","url":"https://github.com/djkoloski/rkyv/commit/9c65ae9c2c67dd949b5c3aba9b8eba6da802ab7e"},{"type":"WEB","url":"https://github.com/djkoloski/rkyv/commit/f141b560523a20557db6540576d153010bd18712"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T08:40:34.279222Z"}}