# GHSA-3288-p39f-rqpv: Unsoundness in opt-in ARMv8 assembly backend for `keccak`

> Unsoundness in the opt-in ARMv8 assembly backend of the keccak crate could theoretically lead to memory safety issues, though no practical impact was observed.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Not stated
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 12 Feb 2026
- **Also known as:** RUSTSEC-2026-0012

## What is GHSA-3288-p39f-rqpv?

GHSA-3288-p39f-rqpv is a memory corruption vulnerability in keccak, published on 12 Feb 2026. 

### Official description

### Summary

The `asm!` block enabled by the off-by-default `asm` feature, when enabled on ARMv8 targets, misspecified the operand
type for all of its operands, using `in` for pointers and values which were subsequently mutated by operations performed
within the assembly block.

### Impact

It's unclear what practical impact, if any, this actually had. Incorrect operand types are technically undefined
behavior, however changing them had no actual impact on the generated assembly for these targets. The possibility still
exists that it may lead to potential memory safety or other issues on hypothetical future versions of rustc.

### Mitigation

The operand types were changed from `in` to `inout`, and the impacted versions of the `keccak` crate were yanked.

## Which versions are affected by GHSA-3288-p39f-rqpv?

3 open source packages ship an affected version, including keccak.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `keccak` | crates.io | All versions | 0.1.6 |
| `keccak` | crates.io | All versions | 0.1.6 |
| `keccak` | crates.io | From 0.0.0-0 | 0.1.6 |

## How do I fix GHSA-3288-p39f-rqpv?

Upgrade keccak to 0.1.6 or later.

## Is GHSA-3288-p39f-rqpv being exploited?

There is no known exploitation of GHSA-3288-p39f-rqpv in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-3288-p39f-rqpv and fix it if it is affected.

What it is: GHSA-3288-p39f-rqpv is a memory corruption vulnerability in keccak, published on 12 Feb 2026. 
Exploitation: There is no known exploitation of GHSA-3288-p39f-rqpv in the wild and no public exploit code.

Affected packages and fixed versions:
- keccak (crates.io): affected all versions; fixed in 0.1.6
- keccak (crates.io): affected all versions; fixed in 0.1.6
- keccak (crates.io): affected from 0.0.0-0; fixed in 0.1.6

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-3288-p39f-rqpv/ (Markdown: https://insights.sbomify.com/GHSA-3288-p39f-rqpv/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-3288-p39f-rqpv

---
From sbomify Insights: https://insights.sbomify.com/GHSA-3288-p39f-rqpv/
Summaries are generated and may contain mistakes; the official description above is the record.
