Email me

Rust advisories / keccak

Unsound LowRUSTSEC-2026-0012 · keccak

RUSTSEC-2026-0012: Unsoundness in opt-in ARMv8 assembly backend for `keccak`

Short answerkeccak has an API that can cause undefined behaviour from safe code: Unsoundness in opt-in ARMv8 assembly backend for `keccak`. Fixed in 0.1.6.

Cratekeccak
TypeUnsound (crypto-failure)
Affected versionsBefore 0.1.6.
Fixed in0.1.6
SeverityLow (GitHub rating)
Published2026-02-12
Last changed2026-02-20
Also known asGHSA-3288-p39f-rqpv

What to do

  1. See which version you have: cargo tree -i keccak (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p keccak. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example keccak = "0.1.6") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Same cratekeccak: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ