Security mailing lists by PureSourceCode

GHSA-3288-p39f-rqpv

LOW

Unsoundness in opt-in ARMv8 assembly backend for `keccak`

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.

Published
12 Feb 2026
Last modified
10 Sep 2026
Weakness
CWE-758
Also known as
RUSTSEC-2026-0012
Sources
OSVJSONOSV RUSTSEC-2026-0012JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io keccak < 0.1.6 0.1.6
OSV crates.io keccak >= 0.0.0-0, < 0.1.6 0.1.6

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.