Vulnerability RUSTSEC-2018-0011

Critical
CRITICAL RISK
CVSS Score: 9.8
Score Range: 9.0–10.0
Critical severity vulnerabilities (CVSS 9.0–10.0). These represent the highest impact issues.
7 years ago
December 18, 2018 at 12:00 PM UTC
Enum repr causing potential memory corruption
3.2.0 - 3.5.0
3.2.0 - 3.5.0

Summary

Enum repr causing potential memory corruption

Details

The attribute repr() added to enums to be compatible with C-FFI caused memory corruption on MSVC toolchain.

arrayfire crates <= version 3.5.0 do not have this issue when used with Rust versions 1.27 or earlier. The issue only started to appear since Rust version 1.28.

The issue seems to be interlinked with which version of Rust is being used.

The issue was fixed in crate 3.6.0.

Impacted packages

Timeline

Published
7 years ago
December 18, 2018 at 12:00 PM UTC
Fixed (3.6.0)
8 years ago
September 27, 2018 at 01:19 PM UTC
Last Modified
2 days ago
September 25, 2026 at 02:45 PM UTC