GHSA-pv9v-5j35-xwcr
libcrux Panics During Standalone MAC Operations
GHSA-pv9v-5j35-xwcr is a high vulnerability (CVSS 8.7) in libcrux-poly1305, published March 4, 2026. No source lists public exploit code. Fixed in libcrux-poly1305 0.0.5.
- Severity
- 8.7 HighCVSS 4.0, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
0.0.5libcrux-poly1305 +1 more
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libcrux-poly1305crates.io | before 0.0.5 | 0.0.5 |
libcrux-poly1305crates.io | 0.0.0-0 up to 0.0.5 | 0.0.5 |
What each source reports
GitHub Advisories Score used 8.7
libcrux 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.
- Record
GHSA-pv9v-5j35-xwcr- CVSS 4.0
- 8.7 High
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 - Weakness
- CWE-125, CWE-805
- Updated
- 2026-11-02
OSV 8.7
libcrux 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.
- Record
GHSA-pv9v-5j35-xwcr- CVSS 4.0
- 8.7 High
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 - Weakness
- CWE-125, CWE-805
- Updated
- 2026-11-02
OSVRUSTSEC-2026-0073 8.7
Panic in 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.
- Record
RUSTSEC-2026-0073- CVSS 4.0
- 8.7 High
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 - Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.