Read the docs
TI-2026-66432 Aliases GHSA-434v-x5qv-pmh6

libcrux has All-Zero Key Generation Upon Catastrophic RNG Failure

Priority LOW 38CWE-1240Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

The libcrux-ed25519 key generation samples Ed25519 secret keys from a provided CSPRNG in a loop for up to 100 attempts until a non-zero key is found. If a non-zero key could not be sampled within 100 attempts the key generation function would silently continue with an all-zero buffer as the secret key. ## Impact This bug only occurs in the event of a catastrophic failure of the CSPRNG, but would allow anyone to forge signatures under the resulting static signing key. ## Mitigation Instead of silently continuing with an all-zero signing key, starting from version `0.0.7` key generation will error in the case of 100 failed attempts at sampling a valid key.

Why it matters now

Fix Fixed libcrux-ed25519 (crates.io): 0.0.7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—libcrux-ed25519 (crates.io)before 0.0.70.0.7Patch availableGHSA-434v-x5qv-pmh6
  • libcrux-ed25519 (crates.io) Vendor— Affected before 0.0.7 Fixed in 0.0.7 Patch available GHSA-434v-x5qv-pmh6

Remediation

  • Fix · GHSA-434v-x5qv-pmh6 libcrux-ed25519 (crates.io) Fixed in 0.0.7 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-434v-x5qv-pmh6

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences