# RUSTSEC-2026-0073: Panic in Standalone MAC Operations

- Database: RustSec
- Published: 2026-03-04
- Modified: 2026-03-27

## Also published as

- [GHSA-PV9V-5J35-XWCR](https://cve.now/GHSA-PV9V-5J35-XWCR.md) (GitHub)

## 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://crates.io/crates/libcrux-poly1305
- https://rustsec.org/advisories/RUSTSEC-2026-0073.html
- https://github.com/cryspen/libcrux/pull/1351

Page: https://cve.now/RUSTSEC-2026-0073

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