{"id":"CVE-2018-20998","revision":"5db70480fb564bf1a14dff7618371ab0","records":[{"revision":"5db70480fb564bf1a14dff7618371ab0","observedAt":"2026-10-24T14:17:44.361+00:00","statement":{"source":"nvd","id":"CVE-2018-20998","aliases":[],"title":"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.","description":"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.","state":0,"publishedAt":"2019-08-26T18:15:11.717+00:00","modifiedAt":"2026-06-17T01:53:54.587+00:00","affected":[],"metrics":[{"system":"CVSS 3.0 · nvd@nist.gov · Primary","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"severity":"HIGH"}],"references":["https://rustsec.org/advisories/RUSTSEC-2018-0011.html"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2018-20998","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-119"],"productCriteria":["cpe:2.3:a:arrayfire:arrayfire:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2019-08-26T18:15:11.717","lastModified":"2026-06-17T01:53:54.587"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2018-20998","identifiers":["CVE-2018-20998"]},"retained":false,"historicalAffected":[]}],"coverage":[]}