GHSA-fhvh-vw7h-9xf3: libcrux-ml-dsa Signature Verification On AVX2 Platforms Vulnerability

HIGH
CWE-347
Published
Advisory Summary

GHSA-fhvh-vw7h-9xf3 is a HIGH signature verification on avx2 platforms vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting libcrux-ml-dsa libraries in the crates.io ecosystem. The issue involves signature verification on avx2 platforms mishandles edge case. Remediation is available by upgrading affected packages to version 0.0.9.

GHSA-fhvh-vw7h-9xf3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-fhvh-vw7h-9xf3
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-347: Improper Verification of Cryptographic Signature
Affected Product libcrux-ml-dsa
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-fhvh-vw7h-9xf3

To remediate this vulnerability, upgrade all affected libcrux-ml-dsa dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

libcrux-ml-dsa fixed: 0.0.9
Upgrade libcrux-ml-dsa to 0.0.9
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for libcrux-ml-dsa

How to Check if You Are Affected

To determine whether your application is affected by GHSA-fhvh-vw7h-9xf3, inspect your project dependencies for libcrux-ml-dsa:

inspect dependencies for libcrux-ml-dsa

Analyze the terminal output to locate any version of libcrux-ml-dsa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In libcrux-ml-dsa, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

GHSA-fhvh-vw7h-9xf3 Affected libcrux-ml-dsa Versions

1 component(s)
Fixed Versions:
0.0.9
Product / Package Ecosystem Affected Versions Fixed Version
libcrux-ml-dsa
crates.io
< 0.0.9
0.0.9

References

Frequently Asked Questions

What is GHSA-fhvh-vw7h-9xf3?
GHSA-fhvh-vw7h-9xf3 is a security vulnerability in libcrux-ml-dsa involving Signature Verification on AVX2 Platforms Mishandles Edge Case under CWE-347: Improper Verification of Cryptographic Signature.
Which libcrux-ml-dsa versions are affected?
Affected versions include releases prior to 0.0.9 across affected packages: libcrux-ml-dsa.
What version fixes GHSA-fhvh-vw7h-9xf3?
Upgrading to 0.0.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is libcrux-ml-dsa affected?
Yes, libcrux-ml-dsa is affected in releases prior to 0.0.9. Upgrade your dependency to 0.0.9 or later.
What CWE is associated with GHSA-fhvh-vw7h-9xf3?
GHSA-fhvh-vw7h-9xf3 is classified under CWE-347: Improper Verification of Cryptographic Signature (The product does not verify, or incorrectly verifies, the cryptographic signature for data.).
How can I check crates.io dependencies for GHSA-fhvh-vw7h-9xf3?
Run the dependency tree command: 'inspect dependencies for libcrux-ml-dsa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fhvh-vw7h-9xf3",
  "modified" : "2026-05-19T16:18:53Z",
  "published" : "2026-05-19T16:18:53Z",
  "aliases" : [ ],
  "summary" : " libcrux-ml-dsa: Signature Verification on AVX2 Platforms Mishandles Edge Case",
  "details" : "The AVX2 implementation of ML-DSA verification incorrectly implemented\nthe `use_hint` function, mishandling an edge case that should lead to\nsignature rejection.\n\n## Impact\nAn attacker could make the ML-DSA verifier accept a crafted invalid\nsignature under a maliciously generated verification key, if the AVX2\nimplementation is used.\n\n## Mitigation\nFrom version `0.0.9` the edge case is handled correctly and invalid\nsignatures are rejected.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "libcrux-ml-dsa"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/C2SP/wycheproof/pull/234"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cryspen/libcrux/pull/1398"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tink-crypto/tink-go/pull/48"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cryspen/libcrux"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2026-0125.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-347" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-19T16:18:53Z",
    "nvd_published_at" : null
  }
}