# GHSA-PV9V-5J35-XWCR: libcrux Panics During Standalone MAC Operations

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-03-26
- Modified: 2026-03-27

## Also published as

- [RUSTSEC-2026-0073](https://cve.now/RUSTSEC-2026-0073.md) (RustSec)

## Affected versions

- libcrux-poly1305 (crates.io): fixed in 0.0.5

## 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.

## References

- https://github.com/cryspen/libcrux/pull/1351
- https://github.com/cryspen/libcrux
- https://rustsec.org/advisories/RUSTSEC-2026-0073.html

Page: https://cve.now/GHSA-PV9V-5J35-XWCR

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
