Use After Free in Image-Rs Image
CVE-2019-16138
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.025, 84.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Artisan-Lab/Rust-memory-safety-bugs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- rustsec.org/advisories/RUSTSEC-2019-0014.html (Third Party Advisory)
- github.com/image-rs/image/pull/985 (Patch, Third Party Advisory)