RUSTSEC-2026-0073
HIGHlibcrux Panics During Standalone MAC Operations
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.
Impact
Applications wishing to use libcrux-poly1305 as a standalone MAC would experience panics. The use of libcrux-poly1305 in libcrux-chacha20poly1305 is unaffected.
Mitigation
Starting from version 0.0.5, the correct value is used for the key length constant.
- Published
- 4 Mar 2026
- Last modified
- 27 Mar 2026
- Weakness
- CWE-125CWE-805
- Also known as
- GHSA-pv9v-5j35-xwcr
- Sources
- OSV GHSA-pv9v-5j35-xwcrJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | RustSec | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | libcrux-poly1305 | < 0.0.5 | 0.0.5 |
| OSV | crates.io | libcrux-poly1305 | >= 0.0.0-0, < 0.0.5 | 0.0.5 |
References
- https://github.com/cryspen/libcrux/pull/1351 · WEB
- https://github.com/cryspen/libcrux · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0073.html · WEB, ADVISORY
- https://crates.io/crates/libcrux-poly1305 · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2026)