Advisory

RUSTSEC-2026-0125

Also known as: GHSA-fhvh-vw7h-9xf3

Summary

Signature Verification on AVX2 Platforms Mishandles Edge Case

Details

The AVX2 implementation of ML-DSA verification incorrectly implemented
the use_hint function, mishandling an edge case that should lead to
signature rejection.

Impact
An attacker could make the ML-DSA verifier accept a crafted invalid
signature under a maliciously generated verification key, if the AVX2
implementation is used.

Mitigation
From version 0.0.9 the edge case is handled correctly and invalid
signatures are rejected.

Severity

Not rated by the source.

Dates

Published
2026-05-05 12:00 UTC
Modified
2026-05-20 07:15 UTC

Affected packages and fixes

libcrux-ml-dsa

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.0.9 (semver)

Fixed versions

0.0.9

Fix

  • Fixed version 0.0.9
    cargo update -p libcrux-ml-dsa --precise 0.0.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences