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.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2019-0014.html
Patch, Third Party Advisory x_refsource_misc
https://github.com/image-rs/image/pull/985
Scores
CVSS v3
9.8
EPSS
0.0248
EPSS Percentile
82.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (2)
crates.io/image
0.10.2 - 0.21.3crates.io
image-rs/image
0.10.2 - 0.21.3
Published
Sep 09, 2019
Tracked Since
Feb 18, 2026