GHSA-3288-p39f-rqpv: Keccak Unsoundness Vulnerability
LOWGHSA-3288-p39f-rqpv is a LOW unsoundness vulnerability (CWE-758: Reliance on Undefined, Unspecified, or Implementation-Defined Behavior) affecting Keccak libraries in the crates.io ecosystem. The issue involves unsoundness in opt-in armv8 assembly backend for `keccak`. Remediation is available by upgrading affected packages to version 0.1.6.
GHSA-3288-p39f-rqpv at a Glance
How to Fix GHSA-3288-p39f-rqpv
To remediate this vulnerability, upgrade all affected Keccak dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade keccak to 0.1.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for keccak
How to Check if You Are Affected
To determine whether your application is affected by GHSA-3288-p39f-rqpv, inspect your project dependencies for Keccak:
inspect dependencies for keccak
Analyze the terminal output to locate any version of Keccak in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-758: Reliance on Undefined, Unspecified, or Implementation-Defined Behavior, where the product uses an api function, data structure, or other entity in a way that relies on properties that are not always guaranteed to hold for that entity. In Keccak, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-3288-p39f-rqpv Affected Keccak Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keccak
|
crates.io |
< 0.1.6
|
0.1.6
|
References
Frequently Asked Questions
What is GHSA-3288-p39f-rqpv?
Which Keccak versions are affected?
What version fixes GHSA-3288-p39f-rqpv?
Is keccak affected?
What CWE is associated with GHSA-3288-p39f-rqpv?
How can I check crates.io dependencies for GHSA-3288-p39f-rqpv?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3288-p39f-rqpv",
"modified" : "2026-02-19T15:17:41Z",
"published" : "2026-02-19T15:17:41Z",
"aliases" : [ ],
"summary" : "Unsoundness in opt-in ARMv8 assembly backend for `keccak`",
"details" : "### Summary\n\nThe `asm!` block enabled by the off-by-default `asm` feature, when enabled on ARMv8 targets, misspecified the operand\ntype for all of its operands, using `in` for pointers and values which were subsequently mutated by operations performed\nwithin the assembly block.\n\n### Impact\n\nIt's unclear what practical impact, if any, this actually had. Incorrect operand types are technically undefined\nbehavior, however changing them had no actual impact on the generated assembly for these targets. The possibility still\nexists that it may lead to potential memory safety or other issues on hypothetical future versions of rustc.\n\n### Mitigation\n\nThe operand types were changed from `in` to `inout`, and the impacted versions of the `keccak` crate were yanked.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "keccak"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/RustCrypto/sponges/pull/101"
}, {
"type" : "WEB",
"url" : "https://github.com/RustCrypto/sponges/commit/7ac1920198ebb7d0192e6d2c3581e15b38a6e0e5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/RustCrypto/sponges"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0012.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-758" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-19T15:17:41Z",
"nvd_published_at" : null
}
}