Medium
rust-curve25519-dalek — security advisory
The ed25519-dalek crate before 2 for Rust allows a double public key signing function oracle attack. The Keypair implementation leads to a simple computation for extracting a private key.
- Products
- rust-curve25519-dalek
- Affected versions
- 4.1.3+20240618+dfsg-9, 4.2.0+dfsg-1, 4.2.0+dfsg-1build1, 4.2.0+dfsg-4, 5.0.0+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-50237
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:48 UTC · Revision 1
Source evidence
The ed25519-dalek crate before 2 for Rust allows a double public key signing function oracle attack. The Keypair implementation leads to a simple computation for extracting a private key.
osv:UBUNTU-CVE-2022-50237
rust-curve25519-dalek
Fixed versions: Not specified
rust-curve25519-dalek
Fixed versions: Not specified
rust-curve25519-dalek
Fixed versions: Not specified
Complete source record
{
"id": "3a06579137d6c7850c83ab17f74807f51604b499324c9e14bce4e8c3aa192058",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-50237",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-50237",
"summary": "The ed25519-dalek crate before 2 for Rust allows a double public key signing function oracle attack. The Keypair implementation leads to a simple computation for extracting a private key.",
"evidence": "osv:UBUNTU-CVE-2022-50237",
"products": [
{
"name": {
"value": "rust-curve25519-dalek",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.1.3+20240618+dfsg-9",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rust-curve25519-dalek",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.2.0+dfsg-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "4.2.0+dfsg-4",
"evidence": "/affected/1/versions"
},
{
"value": "5.0.0+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rust-curve25519-dalek",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.1.3+20240618+dfsg-9",
"evidence": "/affected/2/versions"
},
{
"value": "4.2.0+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.2.0+dfsg-1build1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2022-50237",
"aliases": [
"UBUNTU-CVE-2022-50237"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-curve25519-dalek",
"purl": "pkg:deb/ubuntu/rust-curve25519-dalek?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"4.1.3+20240618+dfsg-9"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-50237.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-curve25519-dalek-derive-dev",
"binary_version": "0.1.1+4.1.3+20240618+dfsg-9"
},
{
"binary_name": "librust-curve25519-dalek-dev",
"binary_version": "4.1.3+4.1.3+20240618+dfsg-9"
},
{
"binary_name": "librust-ed25519-dalek-dev",
"binary_version": "2.1.1+4.1.3+20240618+dfsg-9"
},
{
"binary_name": "librust-x25519-dalek-dev",
"binary_version": "2.0.1+4.1.3+20240618+dfsg-9"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-curve25519-dalek",
"purl": "pkg:deb/ubuntu/rust-curve25519-dalek?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.2.0+dfsg-1build1",
"4.2.0+dfsg-4",
"5.0.0+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-50237.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-curve25519-dalek-dev",
"binary_version": "5.0.0+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-curve25519-dalek",
"purl": "pkg:deb/ubuntu/rust-curve25519-dalek?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.1.3+20240618+dfsg-9",
"4.2.0+dfsg-1",
"4.2.0+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-50237.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-curve25519-dalek-derive-dev",
"binary_version": "0.1.1+4.2.0+dfsg-1build1"
},
{
"binary_name": "librust-curve25519-dalek-dev",
"binary_version": "4.2.0+4.2.0+dfsg-1build1"
},
{
"binary_name": "librust-ed25519-dalek-dev",
"binary_version": "2.2.0+4.2.0+dfsg-1build1"
},
{
"binary_name": "librust-x25519-dalek-dev",
"binary_version": "2.0.1+4.2.0+dfsg-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:03.584442551Z",
"provider": "osv",
"upstream": [
"CVE-2022-50237"
],
"references": [
"https://ubuntu.com/security/CVE-2022-50237",
"https://www.cve.org/CVERecord?id=CVE-2022-50237",
"https://crates.io/crates/ed25519-dalek",
"https://github.com/MystenLabs/ed25519-unsafe-libs",
"https://rustsec.org/advisories/RUSTSEC-2022-0093.html"
]
},
"related_cves": [
{
"value": "CVE-2022-50237",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354728,
"published_at": "2025-07-28T02:15:00+00:00"
}