Potential memory corruption in arrayfireGHSA-69fv-gw6g-8ccg
CRITICALFix: arrayfire/arrayfire-rust#177GHSA-69fv-gw6g-8ccg is a critical-severity (CVSS 9.8) Buffer Overflow vulnerability in arrayfire. A fix is available for arrayfire — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-69fv-gw6g-8ccg by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
arrayfire🐍arrayfireReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io, PyPI packages — download data is not available via public APIs for these ecosystems.
Description
The attribute repr() added to enums to be compatible with C-FFI caused memory corruption on MSVC toolchain.
arrayfire 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.
The issue seems to be interlinked with which version of Rust is being used.
The issue was fixed in crate 3.6.0.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | arrayfire | all versions | 3.6.0cargo update -p arrayfire --precise 3.6.0 |
| 🐍PyPI | arrayfire | all versions | 3.6.0pip install --upgrade 'arrayfire==3.6.0' |
Affected Products
arrayfirearrayfireDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for arrayfire, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update arrayfire to 3.6.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-69fv-gw6g-8ccg is resolved across your whole dependency graph.
Workarounds
Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.
Frequently Asked Questions
Is GHSA-69fv-gw6g-8ccg in your dependencies?
Find it across crates.io, PyPI, including transitive dependencies.