{"id":"RUSTSEC-2026-0073","summary":"Panic in Standalone MAC Operations","details":"An incorrect constant for the key length in libcrux-poly1305 caused\nthe standalone MAC function `libcrux_poly1305::mac` to always panic\nwith an out-of-bounds memory access.\n\n## Impact\nApplications wishing to use libcrux-poly1305 as a standalone MAC would\nexperience panics. The use of libcrux-poly1305 in\nlibcrux-chacha20poly1305 is unaffected.\n\n## Mitigation\nStarting from version `0.0.5`, the correct value is used for the key\nlength constant.","aliases":["GHSA-pv9v-5j35-xwcr"],"modified":"2026-03-27T05:55:06Z","published":"2026-03-04T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/libcrux-poly1305"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0073.html"},{"type":"WEB","url":"https://github.com/cryspen/libcrux/pull/1351"}],"affected":[{"package":{"name":"libcrux-poly1305","ecosystem":"crates.io","purl":"pkg:cargo/libcrux-poly1305"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.0.5"}]}],"ecosystem_specific":{"affects":{"functions":["libcrux_poly1305::mac"],"os":[],"arch":[]},"affected_functions":null},"database_specific":{"categories":[],"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0073.json","cvss":"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"}}],"schema_version":"1.7.5","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"}]}