CVE-2019-16138Use After Free in Image

CWE-416Use After Free6 documents5 sources
Severity
9.8CRITICALNVD
EPSS
2.2%
top 15.54%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 9
Latest updateAug 25

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

crates.iogolang/image0.10.20.21.3
NVDimage-rs/image0.10.20.21.3

Patches

🔴Vulnerability Details

3
OSV
Use after free in image2021-08-25
GHSA
Use after free in image2021-08-25
OSV
Flaw in interface may drop uninitialized instance of arbitrary types2019-08-21

📋Vendor Advisories

1
Debian
CVE-2019-16138: rust-image - An issue was discovered in the image crate before 0.21.3 for Rust, affecting the...2019

📄Research Papers

1
arXiv
Memory-Safety Challenge Considered Solved? An In-Depth Study with All Rust CVEs2021-02-25