{"id":"CVE-2018-20998","details":"An issue was discovered in the arrayfire crate before 3.6.0 for Rust. Addition of the repr() attribute to an enum is mishandled, leading to memory corruption.","aliases":["GHSA-69fv-gw6g-8ccg","RUSTSEC-2018-0011"],"modified":"2026-03-14T09:29:09.619090Z","published":"2019-08-26T18:15:11.717Z","references":[{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2018-0011.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/arrayfire/arrayfire-rust","events":[{"introduced":"0"},{"fixed":"a5256f3e5e23b83eaad69699e0b04653aba04fb8"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.6.0"}]}}],"versions":["v3.2.0","v3.3.0","v3.3.1","v3.4.0","v3.4.1","v3.4.2","v3.4.3","v3.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20998.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}