# GHSA-fhvh-vw7h-9xf3: libcrux-ml-dsa: Signature Verification on AVX2 Platforms Mishandles Edge Case

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-05T12:00:00.000Z
- Modified: 2026-05-20T07:26:23.879Z
- Also known as: RUSTSEC-2026-0125
- Weaknesses: CWE-347

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- libcrux-ml-dsa (crates.io): before 0.0.9; from 0.0.0-0 before 0.0.9

## Every score

- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- RustSec Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/C2SP/wycheproof/pull/234> (web)
- <https://github.com/cryspen/libcrux/pull/1398> (web)
- <https://github.com/tink-crypto/tink-go/pull/48> (web)
- <https://github.com/cryspen/libcrux> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0125.html> (advisory, web)
- <https://crates.io/crates/libcrux-ml-dsa> (package)

## Sources

- GitHub Advisory Database: [GHSA-fhvh-vw7h-9xf3](https://github.com/advisories/GHSA-fhvh-vw7h-9xf3), CC-BY-4.0, modified 2026-05-20
- RustSec Advisory Database: [RUSTSEC-2026-0125](https://rustsec.org/advisories/RUSTSEC-2026-0125.html), CC0-1.0, modified 2026-05-20

---

Page: https://cve.day/GHSA-fhvh-vw7h-9xf3 · Whole record: https://cve.day/GHSA-fhvh-vw7h-9xf3.json · Rebuilt by cve.day 2026-11-25T22:56:43.347Z
