{"id":"CVE-2020-35916","aliases":["GHSA-9wgh-vjj7-7433","RUSTSEC-2020-0073"],"url":"https://o3.security/vulnerability/CVE-2020-35916","summary":"Mutable reference with immutable provenance in image","details":"A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::as_ptr. Instead, slice::as_mut_ptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the derived pointer.","published":"2020-12-31T09:15:15.770Z","modified":"2026-07-08T20:42:49.768020Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"image","fixedVersion":"0.23.12"}],"fix":{"url":"https://github.com/image-rs/image/pull/1358","label":"image-rs/image#1358"},"references":[{"type":"EVIDENCE","url":"https://rustsec.org/advisories/RUSTSEC-2020-0073.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35916"},{"type":"WEB","url":"https://github.com/image-rs/image/issues/1357"},{"type":"WEB","url":"https://github.com/image-rs/image/pull/1358"},{"type":"WEB","url":"https://github.com/image-rs/image/commit/5cbe1e6767d11aff3f14c7ad69a06b04e8d583c7"},{"type":"PACKAGE","url":"https://github.com/image-rs/image"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T20:42:49.768020Z"}}