RUSTSEC-2026-0208

Source
https://rustsec.org/advisories/RUSTSEC-2026-0208
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0208.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0208
Published
2026-05-21T12:00:00Z
Modified
2026-07-17T11:45:03.744954039Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Potential Panic in AVX2 SHAKE-256
Details

The AVX2-optimized implementation of SHAKE-256 intended for use in ML-KEM and ML-DSA would panic if the length of the output buffers was greater than 32 and not a multiple of 8, due to an out-of-bounds indexing operation.

Impact

This bug impacts users on AVX2 platforms that use the libcrux_sha3::avx2::x4::shake256 API outside of ML-KEM or ML-DSA with output buffers of length > 32 and not divisible by 8. It does not impact the use in ML-KEM or ML-DSA because there output buffer lengths are always divisible by 8.

Mitigation

Starting from version 0.0.10, the AVX2-optimized SHAKE-256 will no longer panic on output buffer lengths > 32 that are not divisible by 8.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / libcrux-sha3

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.0.10

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "libcrux_sha3::avx2::x4::shake256"
        ],
        "arch": []
    }
}

Database specific

categories
[]
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0208.json"
informational
null
cvss
"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"