CVE-2018-20998
CRITICAL 9.8CVSS 3.0Potential memory corruption in arrayfire
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.
- Published
- 26 Aug 2019
- Last modified
- 25 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-69fv-gw6g-8ccgPYSEC-2019-144RUSTSEC-2018-0011
- Sources
- NVDJSONOSV GHSA-69fv-gw6g-8ccgJSONOSV PYSEC-2019-144JSONOSV RUSTSEC-2018-0011JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | arrayfire | arrayfirecpe:2.3:a:arrayfire:arrayfire:*:*:*:*:*:*:*:* |
< 3.6.0 | 3.6.0 |
| OSV | crates.io | arrayfire | < 3.6.0 | 3.6.0 |
| OSV | PyPI | arrayfire | < 3.6.0 | 3.6.0 |
| OSV | crates.io | arrayfire | >= 0.0.0-0, < 3.6.0 | 3.6.0 |
References
- https://rustsec.org/advisories/RUSTSEC-2018-0011.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-20998 · ADVISORY
- https://github.com/arrayfire/arrayfire-rust/pull/177 · WEB
- https://github.com/arrayfire/arrayfire-rust/commit/a5256f3e5e23b83eaad69699e0b04653aba04fb8 · WEB
- https://github.com/arrayfire/arrayfire-rust · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/arrayfire/PYSEC-2019-144.yaml · WEB
- https://github.com/advisories/GHSA-69fv-gw6g-8ccg · ADVISORY
- https://crates.io/crates/arrayfire · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Dec 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Aug 2021)