X25519 accepts low-order public keys, yielding session keys computable without a private key
Versions of dryoc before 1.0.0 never reject low-order peer public keys or an all-zero shared secret. In addition, versions 0.5.1 through 0.9.x compute X25519 with the clamped scalar reduced modulo the prime subgroup order ℓ (Scalar::from_bytes_mod_order(clamp(n))) instead of the clamped integer specified by RFC 7748; earlier versions use the unreduced clamped scalar. libsodium, with which these functions are documented as compatible, returns an error for all of these inputs.
Recorded fixes — dryoc: 1.0.0. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 1.0.0Semantic versions | 1.0.0 |
Version evidence: OSV · RUSTSEC-2026-0603
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "1.0.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}