In short
What to know.
- Package
- sodiumoxide crates.iofrom 0.2.0 before 0.2.5
- What to do
- Upgrade sodiumoxide to 0.2.5 or later.
- Source's rating
- CriticalNoumen has not assessed it.
- Noumen finding
- NMN-2026-0111Candidate. Severity unknown, confidence high.
3 December 2026
Source
- OSV record GHSA-wrvc-72w7-xpmjosv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-wrvc-72w7-xpmj
- Aliases
- CVE-2019-25002, RUSTSEC-2019-0026
- Severity
- Critical, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Fixed versions
- 0.2.5
- Published
- 25 August 2021
- Modified
- 8 November 2023
- Source
- OSV record GHSA-wrvc-72w7-xpmj, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| sodiumoxide crates.io | from 0.2.0 before 0.2.5 | 0.2.5 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
An issue was discovered in the sodiumoxide crate starting with 0.2.0 and prior to 0.2.5 for Rust. `generichash::Digest::eq` compares itself to itself and thus has degenerate security properties.
References
- advisorynvd.nist.gov/vuln/detail/CVE-2019-25002
- webgithub.com/sodiumoxide/sodiumoxide/pull/381
- webgithub.com/sodiumoxide/sodiumoxide/pull/381/commits/fae052b834b097ced9a89a8fff8466e18f383070
- webgithub.com/sodiumoxide/sodiumoxide/commit/38490723927f230498adf795153e6cd3cb08b6a8
- packagegithub.com/sodiumoxide/sodiumoxide
- webrustsec.org/advisories/RUSTSEC-2019-0026.html