Vulnerability GHSA-69fv-gw6g-8ccg
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.
5 years ago
August 25, 2021 at 08:43 PM UTC
Potential memory corruption in arrayfire
3.0.20150914 - 3.5.20170817
3.0.20150914 - 3.5.20170817
Summary
Potential memory corruption in arrayfire
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.
Related Vulnerabilities
Other vulnerabilities affecting the same packages