{"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-04-10T04:15:52.739141Z","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":{"versions":[{"introduced":"0.10.2"},{"fixed":"0.21.3"}]}}],"versions":["v0.1","v0.21.1","v0.21.2"],"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"}]}