{"id":"GHSA-pv9v-5j35-xwcr","summary":"libcrux Panics During Standalone MAC Operations","details":"An incorrect constant for the key length in libcrux-poly1305 caused the standalone MAC function `libcrux_poly1305::mac` to always panic with an out-of-bounds memory access.\n\n## Impact\nApplications wishing to use libcrux-poly1305 as a standalone MAC would experience panics. The use of libcrux-poly1305 in libcrux-chacha20poly1305 is unaffected.\n\n## Mitigation\nStarting from version `0.0.5`, the correct value is used for the key length constant.","aliases":["RUSTSEC-2026-0073"],"modified":"2026-03-27T06:11:21.406889Z","published":"2026-03-26T18:00:05Z","database_specific":{"github_reviewed_at":"2026-03-26T18:00:05Z","nvd_published_at":null,"cwe_ids":["CWE-125","CWE-805"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/cryspen/libcrux/pull/1351"},{"type":"PACKAGE","url":"https://github.com/cryspen/libcrux"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2026-0073.html"}],"affected":[{"package":{"name":"libcrux-poly1305","ecosystem":"crates.io","purl":"pkg:cargo/libcrux-poly1305"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-pv9v-5j35-xwcr/GHSA-pv9v-5j35-xwcr.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:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}