{"id":"GHSA-2cgv-28vr-rv6j","summary":"libcrux incorrectly calculates on aarch64","details":"On platforms without the `core::arch::aarch64::vxarq_u64` intrinsic, an unverified fallback in `libcrux-intrinsics` v0.0.3\npassed incorrect arguments and produced wrong results. This corrupted SHA-3 digests and caused `libcrux-ml-kem` and\n`libcrux-ml-dsa` to sample incorrectly, yielding incorrect shared secrets and invalid signatures.\n\nThe issue has been fixed in v0.0.4.","aliases":["RUSTSEC-2025-0133"],"modified":"2026-02-22T23:20:55.220024Z","published":"2025-12-04T17:24:23Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-12-04T17:24:23Z","nvd_published_at":null,"cwe_ids":["CWE-200","CWE-327"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/cryspen/libcrux/issues/1220"},{"type":"WEB","url":"https://github.com/cryspen/libcrux/pull/1222"},{"type":"WEB","url":"https://github.com/cryspen/libcrux/commit/8d10f45631afd1d93fabb2278dbb388a075b5608"},{"type":"PACKAGE","url":"https://github.com/cryspen/libcrux"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2025-0133.html"}],"affected":[{"package":{"name":"libcrux-intrinsics","ecosystem":"crates.io","purl":"pkg:cargo/libcrux-intrinsics"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.3"},{"fixed":"0.0.4"}]}],"versions":["0.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-2cgv-28vr-rv6j/GHSA-2cgv-28vr-rv6j.json"}},{"package":{"name":"libcrux-ml-kem","ecosystem":"crates.io","purl":"pkg:cargo/libcrux-ml-kem"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.3"},{"fixed":"0.0.4"}]}],"versions":["0.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-2cgv-28vr-rv6j/GHSA-2cgv-28vr-rv6j.json"}},{"package":{"name":"libcrux-ml-dsa","ecosystem":"crates.io","purl":"pkg:cargo/libcrux-ml-dsa"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.3"},{"fixed":"0.0.4"}]}],"versions":["0.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-2cgv-28vr-rv6j/GHSA-2cgv-28vr-rv6j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"}]}