Email me

Rust advisories / libcrux-poly1305

Vulnerability HighRUSTSEC-2026-0073 · libcrux-poly1305

RUSTSEC-2026-0073: Panic in Standalone MAC Operations

Short answerA security vulnerability in the libcrux-poly1305 crate: Panic in Standalone MAC Operations. GitHub rates it High. Fixed in 0.0.5: update to a fixed version.

Cratelibcrux-poly1305
TypeVulnerability
Affected versionsBefore 0.0.5.
Fixed in0.0.5
SeverityHigh (GitHub rating)
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
Published2026-03-04
Last changed2026-03-27
Also known asGHSA-pv9v-5j35-xwcr
Affected functionslibcrux_poly1305::mac

What to do

  1. See which version you have: cargo tree -i libcrux-poly1305 (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p libcrux-poly1305. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example libcrux-poly1305 = "0.0.5") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ