{"id":"CVE-2019-16138","details":"An issue was discovered in the image crate before 0.21.3 for Rust, affecting the HDR image format decoder. Vec::set_len is called on an uninitialized vector, leading to a use-after-free and arbitrary code execution.","aliases":["GHSA-m2pf-hprp-3vqm","RUSTSEC-2019-0014"],"modified":"2026-07-08T17:17:12.604335Z","published":"2019-09-09T12:15:10.710Z","references":[{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0014.html"},{"type":"FIX","url":"https://github.com/image-rs/image/pull/985"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/image-rs/image","events":[{"introduced":"0"},{"fixed":"841f088871fa1f76fe2a6c2832f109cd979ab11a"}],"database_specific":{"cpe":"cpe:2.3:a:image-rs:image:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.10.2"},{"fixed":"0.21.3"}],"source":"CPE_RANGE"}}],"versions":["v0.21.2","v0.21.1","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16138.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"}]}