Critical
Security advisory
An issue was discovered in the sodiumoxide crate before 0.2.5 for Rust. generichash::Digest::eq compares itself to itself and thus has degenerate security properties.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-25002
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:14 UTC · Revision 1
Source evidence
An issue was discovered in the sodiumoxide crate before 0.2.5 for Rust. generichash::Digest::eq compares itself to itself and thus has degenerate security properties.
osv:CVE-2019-25002
Complete source record
{
"id": "d7726162abfc20ffe8a32b7cf5f0ea91d365cb77c4f84c5896725a77a108f45e",
"url": "https://osv.dev/vulnerability/CVE-2019-25002",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-25002",
"summary": "An issue was discovered in the sodiumoxide crate before 0.2.5 for Rust. generichash::Digest::eq compares itself to itself and thus has degenerate security properties.",
"evidence": "osv:CVE-2019-25002",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2019-25002",
"aliases": [
"CVE-2019-25002",
"GHSA-wrvc-72w7-xpmj",
"RUSTSEC-2019-0026"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sodiumoxide/sodiumoxide",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c85a6a225b8de81f740134c8e0fa1d018b6f4adf"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sodiumoxide_project:sodiumoxide:*:*:*:*:*:rust:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.2.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.2.4",
"0.2.3",
"0.2.2",
"0.2.1",
"0.2.0",
"0.1.0",
"sodiumoxide-0.0.16",
"sodiumoxide-0.0.14",
"sodiumoxide-0.0.12",
"sodiumoxide-0.0.10",
"sodiumoxide-0.0.9",
"sodiumoxide-0.0.8",
"sodiumoxide-0.0.7",
"sodiumoxide-0.0.6",
"sodiumoxide-0.0.5",
"sodiumoxide-0.0.4",
"sodiumoxide-0.0.3",
"sodiumoxide-0.0.2",
"rust-1.0-alpha",
"rust-0.11"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-25002.json"
}
}
],
"modified": "2026-10-24T10:30:15.728223094Z",
"provider": "osv",
"references": [
"https://rustsec.org/advisories/RUSTSEC-2019-0026.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-25002",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429211,
"published_at": "2020-12-31T10:15:14.237+00:00"
}