{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-26305","id":"CVE-2021-26305","title":"Read of uninitialized memory in cdr","description":"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.","descriptionLong":"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.","published":"2021-01-29T02:27:42.000Z","updated":"2026-10-24T10:30:42.574506885Z","reserved":"2021-01-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"cdr","purl":"pkg:cargo/cdr","ranges":["<0.2.4",">=0.0.0-0 <0.2.4"],"fixed":["0.2.4"],"advisory":"GHSA-37jj-wp7g-7wj4"}],"cwes":["CWE-908"],"aliases":["GHSA-37jj-wp7g-7wj4","RUSTSEC-2021-0012"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0012.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26305","tags":["advisory"]},{"url":"https://github.com/hrektts/cdr-rs/issues/10","tags":["web","report"]},{"url":"https://github.com/hrektts/cdr-rs/pull/11","tags":["web"]},{"url":"https://github.com/hrektts/cdr-rs/commit/0e6006de464caa331643f86cd2d9ba3b32b09833","tags":["web"]},{"url":"https://github.com/hrektts/cdr-rs","tags":["package"]},{"url":"https://crates.io/crates/cdr","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01662,"epssPercentile":0.77279,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-26305","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26305","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-26305","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-37jj-wp7g-7wj4","ok":true,"note":"GHSA-37jj-wp7g-7wj4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-26305","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}