{"cve":"CVE-2019-16138","nvd":{"published":"2019-09-09T12:15:10.710","modified":"2026-06-17T02:21:44.633","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-416"],"references":["https://github.com/image-rs/image/pull/985","https://rustsec.org/advisories/RUSTSEC-2019-0014.html","https://github.com/image-rs/image/pull/985","https://rustsec.org/advisories/RUSTSEC-2019-0014.html"],"products":["image-rs:image"],"source":"nvd","synced_at":"2026-10-19T20:58:39.700375520+00:00"},"epss":{"cve":"CVE-2019-16138","score":0.02478,"percentile":0.84566,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m2pf-hprp-3vqm","url":"https://osv.dev/vulnerability/GHSA-m2pf-hprp-3vqm","summary":"Use after free in image","modified":"2023-11-08T04:01:16.102637Z","packages":[{"ecosystem":"crates.io","name":"image","purl":"pkg:cargo/image","ranges":[">=0.10.2 <0.21.3"],"fixed":["0.21.3"]}]},{"id":"RUSTSEC-2019-0014","url":"https://osv.dev/vulnerability/RUSTSEC-2019-0014","summary":"Flaw in interface may drop uninitialized instance of arbitrary types","modified":"2023-11-08T04:01:16.102637Z","packages":[{"ecosystem":"crates.io","name":"image","purl":"pkg:cargo/image","ranges":[">=0.10.2 <0.21.3"],"fixed":["0.21.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}