Skip to content

CVE-2021-38188 Incorrect buffer size calculation in iced-x86

CriticalCVSS 9.8 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

Description

An issue was discovered in the iced-x86 crate through 1.10.3 for Rust. In Decoder::new(), slice.get_unchecked(slice.length()) is used unsafely.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io iced-x86(crates.io) < 1.11.0; >= 0.0.0-0, < 1.10.4-0 1.10.4-0, 1.11.0 Fixed
iced-x86 project iced-x86 <= 1.10.3 after 1.10.3 Fixed

Affected products

ProductAffected versionsFixed in
crates.io iced-x86(crates.io) < 1.11.0 1.11.0
crates.io iced-x86(crates.io) >= 0.0.0-0, < 1.10.4-0 1.10.4-0
iced-x86 project iced-x86 <= 1.10.3 No fix listed

References