{"cve":"CVE-2018-20998","nvd":{"published":"2019-08-26T18:15:11.717","modified":"2026-06-17T01:53:54.587","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-119"],"references":["https://rustsec.org/advisories/RUSTSEC-2018-0011.html","https://rustsec.org/advisories/RUSTSEC-2018-0011.html"],"products":["arrayfire:arrayfire"],"source":"nvd","synced_at":"2026-10-19T20:58:39.700375520+00:00"},"epss":{"cve":"CVE-2018-20998","score":0.01658,"percentile":0.76639,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-69fv-gw6g-8ccg","url":"https://osv.dev/vulnerability/GHSA-69fv-gw6g-8ccg","summary":"Potential memory corruption in arrayfire","modified":"2024-09-12T20:52:04.541612Z","packages":[{"ecosystem":"crates.io","name":"arrayfire","purl":"pkg:cargo/arrayfire","ranges":["<3.6.0"],"fixed":["3.6.0"]},{"ecosystem":"PyPI","name":"arrayfire","purl":"pkg:pypi/arrayfire","ranges":["<3.6.0"],"fixed":["3.6.0"]}]},{"id":"RUSTSEC-2018-0011","url":"https://osv.dev/vulnerability/RUSTSEC-2018-0011","summary":"Enum repr causing potential memory corruption","modified":"2026-09-25T14:45:02.994347923Z","packages":[{"ecosystem":"crates.io","name":"arrayfire","purl":"pkg:cargo/arrayfire","ranges":[">=0.0.0-0 <3.6.0"],"fixed":["3.6.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}