CVE-2018-20998Arrayfire
Critical 9.8 No auth needed
Follow: this CVE · Arrayfire · Arrayfire We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Aug 26, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Arrayfire.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | arrayfire |
< 3.6.0 |
3.6.0 |
pip install "arrayfire>=3.6.0" |
| crates.io | arrayfire |
< 3.6.0 |
3.6.0 |
cargo update -p arrayfire --precise 3.6.0 |
| crates.io | arrayfire |
≥ 0.0.0-0 < 3.6.0 |
3.6.0 |
cargo update -p arrayfire --precise 3.6.0 |
Per OSV / GitHub Advisories (GHSA-69fv-gw6g-8ccg, RUSTSEC-2018-0011). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| arrayfire | arrayfire | < 3.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Third Party Advisory