---
id: CVE-2026-77651
title: >-
  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.
summary: >-
  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.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-506
published: '2026-08-21'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T16:04:24.933'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77651'
references:
  - url: 'https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref'
    label: cve@mitre.org
  - url: 'https://github.com/rustsec/advisory-db/issues/3161'
    label: cve@mitre.org
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0260.html'
    label: cve@mitre.org
  - url: 'https://safedep.io/arrayref-proc-macro1-rust-build-time-malware/'
    label: cve@mitre.org
  - url: 'https://www.stepsecurity.io/blog/arrayref-rust-crate-supply-chain-attack'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00453
epssPercentile: 0.38556
ingestedAt: '2026-09-09T16:14:05.515Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
