Answer in brief
CVE-2018-20998 records a Critical severity (CVSS 9.8) vulnerability in Enum repr causing potential memory corruption. The current sources do not mark it as known exploited. The current feed maps arrayfire (crates.io). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 9.8. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps arrayfire (crates.io). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| arrayfirecrates.io | >=0.0.0-0 <3.6.0 | 3.6.0 |
Published upstream
Dec 18, 2018
Evidence: source:osv:source_dates:source-dates:recordSource modified
Sep 25, 2026
Evidence: source:osv:source_dates:source-dates:recordFirst seen by HOL
Sep 25, 2026
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.
Quoted source text, attributed separately from HOL analysis.