Description
The arrayref crate 0.3.10 for Rust can trigger execution of malicious code when compiling a project that uses the crate, because it has a rogue dependency that registers with a command-and-control server to offer arbitrary code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| droundy | arrayref | 0.3.10 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-arrayref | No fix yet | — |
| Ubuntu 26.04 LTS | rust-arrayref | No fix yet | — |
| Ubuntu 22.04 LTS | rust-arrayref | No fix yet | — |
| Ubuntu 20.04 LTS | rust-arrayref | No fix yet | — |
References
- https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref
- https://github.com/rustsec/advisory-db/issues/3161
- https://www.stepsecurity.io/blog/arrayref-rust-crate-supply-chain-attack
- https://safedep.io/arrayref-proc-macro1-rust-build-time-malware/
- https://rustsec.org/advisories/RUSTSEC-2026-0260.html