Skip to main content
VulnerabilityPublished Updated

Dryoc: Ed25519 signing key pairs with an inconsistent embedded public key are accepted

Affects dryocSource GCVE Database

0
Severity
Low

Rated Low by Threat Radar's AI analysis

Patch
Available – fixed in 2.0.1

Data as of 27 Nov 2026, 12:02 UTC

What to do

Upgrade dryoc to 2.0.1.

Affected software

ProductAffectedFixed in
crates.iodryocpkg:cargo/dryocOther threatsAffected
  • >=0.0.0-0 <2.0.1
Fixed in
  • 2.0.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should upgrade to dryoc version 2.0.1 or later, which validates Ed25519 key pairs during import and deserialization, rejecting inconsistent key material. The signing process also re-derives the embedded public key from the seed to prevent misuse of inconsistent keys. No additional mitigation is required if the upgrade is applied.

Description

The dryoc library's Ed25519 signing key pairs accepted secret keys with an embedded public key that could be inconsistent with the seed. This inconsistency allowed an attacker who could modify part of the stored secret key and obtain signatures on the same message from both original and modified keys to compute the private scalar and forge signatures. The issue was fixed in dryoc version 2.0.1 by validating key pairs on import and re-deriving the embedded public key during signing.

References

Community reviews

Loading reviews…