{"id":"GHSA-pv9v-5j35-xwcr","aliases":["RUSTSEC-2026-0073"],"status":"published","title":"libcrux Panics During Standalone MAC Operations","description":"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.","severity":{"version":"4.0","score":8.7,"vector":"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","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125","CWE-805"],"published":"2026-03-04T12:00:00Z","modified":"2026-03-27T06:11:21Z","fixes":[{"ecosystem":"crates.io","package":"libcrux-poly1305","fixed_in":["0.0.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"libcrux-poly1305","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.5"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libcrux-poly1305","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.5"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libcrux-poly1305","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.0.5"}]}]}],"references":[{"url":"https://github.com/cryspen/libcrux/pull/1351","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0073.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-pv9v-5j35-xwcr"},{"url":"https://github.com/cryspen/libcrux","tags":["package"]},{"url":"https://crates.io/crates/libcrux-poly1305","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-pv9v-5j35-xwcr","title":"libcrux Panics During Standalone MAC Operations","description":"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.","status":"published","published":"2026-03-26T18:00:05Z","modified":"2026-03-26T18:00:06Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-125","CWE-805"],"updated_at":"2026-11-02T14:39:42.712607Z"}],"osv":[{"id":"GHSA-pv9v-5j35-xwcr","title":"libcrux Panics During Standalone MAC Operations","description":"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.","status":"published","published":"2026-03-26T18:00:05Z","modified":"2026-03-27T06:11:21.406889Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-125","CWE-805"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"RUSTSEC-2026-0073","title":"Panic in Standalone MAC Operations","description":"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.","status":"published","published":"2026-03-04T12:00:00Z","modified":"2026-03-27T05:55:06Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"updated_at":"2026-11-02T15:53:40.430679Z"}]}}
