{"id":"GHSA-pv9v-5j35-xwcr","aliases":["GHSA-pv9v-5j35-xwcr","RUSTSEC-2026-0073"],"related":[],"kind":"vulnerability","state":"published","title":"libcrux Panics During Standalone MAC Operations","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2026-03-04T12:00:00.000Z","modified":"2026-03-27T06:11:21.406Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:4.0","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"}],"cwes":["CWE-125","CWE-805"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.5"}],"ecosystem":"crates.io","package":"libcrux-poly1305","purl":"pkg:cargo/libcrux-poly1305","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.0.5"}],"ecosystem":"crates.io","package":"libcrux-poly1305","purl":"pkg:cargo/libcrux-poly1305","source":"rustsec"}],"references":[{"url":"https://github.com/cryspen/libcrux/pull/1351","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/cryspen/libcrux","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0073.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/libcrux-poly1305","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pv9v-5j35-xwcr","url":"https://github.com/advisories/GHSA-pv9v-5j35-xwcr","licence":"CC-BY-4.0","modified":"2026-03-27T06:11:21.406Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0073","url":"https://rustsec.org/advisories/RUSTSEC-2026-0073.html","licence":"CC0-1.0","modified":"2026-03-27T05:55:06.000Z"}],"updatedAt":"2026-11-25T22:56:43.327Z"}