This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate libcrux-chacha20poly1305

Dependencies

(5 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 libcrux-hacl-rs=0.0.40.0.4up to date
 libcrux-macros=0.0.30.0.3up to date
 libcrux-poly1305 ⚠️=0.0.40.0.5out of date
 libcrux-secrets=0.0.50.0.5up to date
 libcrux-traits=0.0.60.0.6up to date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 hex^0.4.30.4.3up to date
 rand_core^0.90.10.0out of date
 serde^1.0.2161.0.228up to date
 serde_json^1.0.1331.0.149up to date

Security Vulnerabilities

libcrux-poly1305: Panic in Standalone MAC Operations

RUSTSEC-2026-0073

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.