All reports
Critical

Incorrect Comparison in sodiumoxide

Affected versions

Version ranges need review.

Rust / Cargosodiumoxide
Affected versions
>=0.0.0-0 <0.2.5
Fixed version
0.2.5
Rust / Cargosodiumoxide
Affected versions
>= 0.2.0, < 0.2.5
Fixed version
0.2.5

Exploitation

CVE-2019-25002

Probability of exploitation in the next 30 days: 1.50%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • ruuda