GHSA-pv9v-5j35-xwcr
high
libcrux Panics During Standalone MAC Operations
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2026-0073
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.
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libcrux-poly1305 (crates.io) | before 0.0.5, from 0.0.0-0 before 0.0.5 | GitHub Advisory Database, RustSec Advisory Database |
All scores
| GitHub | high 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 |
| RustSec Advisory Database | Not scored 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 |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-pv9v-5j35-xwcr changed 2026-03-27 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2026-0073 changed 2026-03-27 | CC0-1.0 |