Advisory

RUSTSEC-2026-0012

Also known as: GHSA-3288-p39f-rqpv

Summary

Unsoundness in opt-in ARMv8 assembly backend for keccak

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-02-12 12:00 UTC
Modified
2026-02-20 04:00 UTC

Affected packages and fixes

keccak

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.1.6 (semver)

Fixed versions

0.1.6

Fix

  • Fixed version 0.1.6
    cargo update -p keccak --precise 0.1.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences