An issue was discovered in the sodiumoxide crate before 0.2.5 for Rust.
Priority MEDIUM 45CWE-697Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
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.
Why it matters now
EPSS 0.01502 74th percentileScored 2026-11-07
Fix Fixed sodiumoxide (crates.io): 0.2.5
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | sodiumoxide (crates.io) | 0.2.0 to before 0.2.5 | 0.2.5 | Patch available | GHSA-wrvc-72w7-xpmj |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- sodiumoxide (crates.io) Vendor— Affected 0.2.0 to before 0.2.5 Fixed in 0.2.5 Patch available GHSA-wrvc-72w7-xpmj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sodiumoxide_project:sodiumoxide:*:*:*:*:*:rust:*:* | before 0.2.5 | Vulnerable | Sodiumoxide Project |
- cpe:2.3:a:sodiumoxide_project:sodiumoxide:*:*:*:*:*:rust:*:* Versions before 0.2.5 Vulnerable ·Sodiumoxide Project
Remediation
- Fix · GHSA-wrvc-72w7-xpmj sodiumoxide (crates.io) Fixed in 0.2.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-25002
- 2026-10-03 Alias added: GHSA-wrvc-72w7-xpmj
References
More Sodiumoxide Project Sodiumoxide vulnerabilities
- TI-2017-14497 sodiumoxide 0.0.13 and older scalarmult() vulnerable to degenerate public keys CVSS 3.0MEDIUM 6.5
Sources
- CVE-2019-25002 · CVE Program
- CVE-2019-25002 · NVD
- FIRST EPSS
- GHSA-wrvc-72w7-xpmj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences