{"id":"EUVD-2019-0020","revision":null,"records":[{"revision":"a358c9e84b2940d0b56342cd7312eb85","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","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-26T17:11:29+00:00","modifiedAt":"2024-08-05T12:19:27.345+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://rustsec.org/advisories/RUSTSEC-2018-0011.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-20998","license":"CVE Program Terms of Use","key":"cve-program:CVE-2018-20998","identifiers":["CVE-2018-20998"]},"retained":false,"historicalAffected":[]},{"revision":"28ddcc8d238a46ca820f189433759104","observedAt":"2026-11-12T03:01:26.213+00:00","statement":{"source":"euvd","id":"EUVD-2019-0020","aliases":["CVE-2018-20998","GHSA-69fv-gw6g-8ccg","PYSEC-2019-144"],"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":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://rustsec.org/advisories/RUSTSEC-2018-0011.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-0020","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 26, 2019, 5:11:29 PM","dateUpdated":"Aug 5, 2024, 12:19:27 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2019-0020","identifiers":["EUVD-2019-0020","CVE-2018-20998","GHSA-69fv-gw6g-8ccg","PYSEC-2019-144"]},"retained":false,"historicalAffected":[]},{"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":[]},{"revision":"060d48bb8cc54dc2b11a7594e3da562e","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-69fv-gw6g-8ccg","aliases":["CVE-2018-20998","RUSTSEC-2018-0011"],"title":"Potential memory corruption in arrayfire","description":"The attribute repr() added to enums to be compatible with C-FFI caused memory corruption on MSVC toolchain.\n\narrayfire 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.\n\nThe issue seems to be interlinked with which version of Rust is being used.\n\nThe issue was fixed in crate 3.6.0.","state":0,"publishedAt":"2021-08-25T20:43:26+00:00","modifiedAt":"2024-09-12T20:52:04.541612+00:00","affected":[{"ecosystem":"crates.io","name":"arrayfire","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.6.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"PyPI","name":"arrayfire","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.6.0"}]}],"versions":["3.0.20150914","3.1.20151111","3.2.20151211","3.2.20151214","3.2.20151224","3.2.20151224.post1","3.3.20160320","3.3.20160328","3.3.20160427","3.3.20160427.post1","3.3.20160510","3.3.20160516","3.3.20160624","3.3.20160624.post1","3.4.20160925","3.4.20161126","3.4.20170222","3.5.20170718","3.5.20170721","3.5.20170817"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-20998","https://github.com/arrayfire/arrayfire-rust/pull/177","https://github.com/arrayfire/arrayfire-rust/commit/a5256f3e5e23b83eaad69699e0b04653aba04fb8","https://github.com/arrayfire/arrayfire-rust","https://github.com/pypa/advisory-database/tree/main/vulns/arrayfire/PYSEC-2019-144.yaml","https://rustsec.org/advisories/RUSTSEC-2018-0011.html"],"sourceUrl":"https://github.com/advisories/GHSA-69fv-gw6g-8ccg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-69fv-gw6g-8ccg","identifiers":["GHSA-69fv-gw6g-8ccg","CVE-2018-20998","RUSTSEC-2018-0011"]},"retained":false,"historicalAffected":[]},{"revision":"2f23b6b62a254095b596286b53d35523","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2018-0011","aliases":["CVE-2018-20998","GHSA-69fv-gw6g-8ccg"],"title":"Enum repr causing potential memory corruption","description":"The attribute repr() added to enums to be compatible with C-FFI caused\nmemory corruption on MSVC toolchain.\n\narrayfire crates <= version 3.5.0 do not have this issue when used with\nRust versions 1.27 or earlier. The issue only started to appear since\nRust version 1.28.\n\nThe issue seems to be interlinked with which version of Rust is being used.\n\nThe issue was fixed in crate 3.6.0.","state":0,"publishedAt":"2018-12-18T12:00:00+00:00","modifiedAt":"2026-09-25T14:45:02.9943479+00:00","affected":[{"ecosystem":"crates.io","name":"arrayfire","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"3.6.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/arrayfire","https://rustsec.org/advisories/RUSTSEC-2018-0011.html","https://github.com/arrayfire/arrayfire-rust/pull/177"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2018-0011","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2018-0011","identifiers":["RUSTSEC-2018-0011","CVE-2018-20998","GHSA-69fv-gw6g-8ccg"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T10:55:30.8237330+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T10:55:30.823733+00:00","lastSuccessAt":"2026-11-12T10:55:31.0556782+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:55:31.055679+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-597d2a846bb8b004ef04143ee27b4f2061367ce1f574db03c0eec66ce3f0654b","complete":true,"records":424644,"lastAttemptAt":"2026-11-12T10:53:33.7939567+00:00","lastSuccessAt":"2026-11-12T10:53:33.7645522+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:53:33.7939567+00:00","snapshotPublishedAt":"2026-11-12T10:28:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9db698e4659747149ec1092e3d34a5a1","complete":true,"records":13764,"lastAttemptAt":"2026-11-12T10:56:11.9015763+00:00","lastSuccessAt":"2026-11-12T09:56:01.656+00:00","error":null,"lastVerifiedAt":"2026-11-12T09:56:01.656+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13817,"expectedIdentifiers":13817,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T10:55:30.8237330+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T10:55:30.823733+00:00","lastSuccessAt":"2026-11-12T10:55:31.0564011+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:55:31.0564012+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-bd366c4173b74364bb995788ecd92c36","complete":false,"records":13764,"lastAttemptAt":"2026-11-12T10:56:10.5374387+00:00","lastSuccessAt":"2026-11-12T10:56:10.532+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:56:10.532+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13313,"expectedIdentifiers":13817,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T10:55:30.6813009+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:55:30.6813009+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T10:53:33.9269183+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:53:33.9269183+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-f46f74c6a30a9b6e4cfb481719c6d35521ebec2d53ebf163223d093ae587eb9d","complete":true,"records":3106,"lastAttemptAt":"2026-11-12T10:55:30.7817941+00:00","lastSuccessAt":"2026-11-12T09:55:31.1176285+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:55:30.7817941+00:00","snapshotPublishedAt":"2026-11-12T09:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-cafddcfb656ee3e2c62171513201ded79d8731137bd7467a5e566349080db7d4","complete":true,"records":231700,"lastAttemptAt":"2026-11-12T10:55:30.5507315+00:00","lastSuccessAt":"2026-11-12T10:55:29.0211827+00:00","error":null,"lastVerifiedAt":"2026-11-12T10:55:30.5507315+00:00","snapshotPublishedAt":"2026-11-12T10:33:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}