CVE-2018-20998 json
Potential memory corruption in arrayfire
published 7y ago modified last mo. also GHSA-69fv-gw6g-8ccg , PYSEC-2019-144 , RUSTSEC-2018-0011 , EUVD-2019-0020
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io arrayfire 3.6.0
- pypi arrayfire 3.6.0
- arrayfire arrayfire 3.6.0
- github.com/arrayfire/arrayfire-rust@a5256f3 commit
- github.com/arrayfire/arrayfire-rust#177 pull request
Is CVE-2018-20998 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.69% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | arrayfire | <3.6.0 >=0.0.0-0, <3.6.0 |
3.6.0 |
| pypi | arrayfire | <3.6.0 |
3.6.0 |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/arrayfire/arrayfire-rust/pull/177
web
-
github.com
/arrayfire/arrayfire-rust/commit/a5256f3e5e23b83eaad69699e0b04653aba04fb8
web
-
rustsec.org
/advisories/RUSTSEC-2018-0011.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-20998
advisory
-
github.com
/arrayfire/arrayfire-rust
package
-
github.com
/pypa/advisory-database/tree/main/vulns/arrayfire/PYSEC-2019-144.yaml
web
-
github.com
/advisories/GHSA-69fv-gw6g-8ccg
advisory
-
crates.io
/crates/arrayfire
package
Sources
- CVE List CVE-2018-20998
- GitHub Advisory GHSA-69fv-gw6g-8ccg
- NVD CVE-2018-20998
- OSV PYSEC-2019-144
- OSV RUSTSEC-2018-0011
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.