{"id":"CVE-2021-26305","details":"An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.","aliases":["GHSA-37jj-wp7g-7wj4","RUSTSEC-2021-0012"],"modified":"2026-07-08T21:27:19.870154Z","published":"2021-01-29T03:15:12.363Z","references":[{"type":"EVIDENCE","url":"https://rustsec.org/advisories/RUSTSEC-2021-0012.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hrektts/cdr-rs","events":[{"introduced":"0"},{"fixed":"b143a8ba034b73637db078eec942e4c63bd52fc3"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:cdr_project:cdr:*:*:*:*:*:rust:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.2.4"}]}}],"versions":["v0.2.3","v0.2.2","v0.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26305.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}