{"id":"CVE-2019-16138","published":"2019-09-09T11:49:30Z","modified":"2024-08-05T01:10:41Z","title":"An issue was discovered in the image crate before 0.21.3 for Rust, affecting the HDR image format decoder","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02478,"percentile":0.84953,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0014.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/image-rs/image/pull/985","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":16.99}]},"affected":[{"ecosystem":"crates.io","package":"image","vulnerableRanges":[">=0.10.2, <0.21.3"],"patched":["0.21.3"],"from":["GHSA-m2pf-hprp-3vqm","RUSTSEC-2019-0014"],"provenance":"source"}],"summary":{"text":"The flaw is in the HDR image format decoder of the image crate for Rust, prior to version 0.21.3, where Vec::set_len is called on an uninitialized vector, leading to a use-after-free condition. An attacker can achieve arbitrary code execution by supplying a crafted HDR image to an application that uses the vulnerable decoder; the provided record does not specify required network access, authentication, user interaction, or configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:02Z"},"euvd":{"id":"EUVD-2021-1787","exploited":false,"provenance":"source"}}