NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🦀
🦀 crates.io
Not in CISA KEV
CRITICAL severity

CVE-2019-25002 — sodiumoxide

CRITICALFix: sodiumoxide/sodiumoxide#381

CVE-2019-25002 is a critical-severity (CVSS 9.8) vulnerability in sodiumoxide. A fix is available for sodiumoxide — see the affected versions and patch details below.

Incorrect Comparison in sodiumoxide

Also known asGHSA-wrvc-72w7-xpmjRUSTSEC-2019-0026
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 21, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs75th percentile — riskier than 75% of all scored CVEsHighest risk
0.00%0.67%1.33%2.00%0.4%1.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🦀sodiumoxide

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🦀crates.iosodiumoxide≥ 0.2.0&&< 0.2.50.2.5cargo update -p sodiumoxide --precise 0.2.5

Affected Products

1 product · 1 configurations
Application
sodiumoxidesodiumoxide_project
< 0.2.5
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for sodiumoxide, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update sodiumoxide to 0.2.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-25002 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2019-25002 in your dependencies?

Find it across crates.io, including transitive dependencies.

CVE-2019-25002: sodiumoxide — Fixed in 0.2.5