Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0111

generichash::Digest::eq always return true

CandidateMachine- or researcher-generated; not independently verified.

In short

What to know.

Package
sodiumoxide crates.iosodiumoxide: from 0.0.0-0 before 0.2.5
What to do
Upgrade sodiumoxide to 0.2.5 or later.
Severity
UnknownRated by the source advisory.
Confidence
HighThe affected range comes from the advisory; no system that uses the component has been assessed.

Verification

Where it stands.

  1. Candidate
  2. In review
  3. Reproduced
  4. Confirmed
  5. Resolved
  6. Disputed
  7. Withdrawn
Candidate Machine- or researcher-generated; not independently verified.

What each state means, and how a record moves between them.

9 listed

Sources

  1. OSV record RUSTSEC-2019-0026osv.devRetrieved 3 December 2026
  2. package reference for RUSTSEC-2019-0026crates.ioRetrieved 3 December 2026
  3. advisory reference for RUSTSEC-2019-0026rustsec.orgRetrieved 3 December 2026
  4. web reference for RUSTSEC-2019-0026github.comRetrieved 3 December 2026
  5. OSV record GHSA-wrvc-72w7-xpmjosv.devRetrieved 3 December 2026
  6. advisory reference for GHSA-wrvc-72w7-xpmjnvd.nist.govRetrieved 3 December 2026
  7. web reference for GHSA-wrvc-72w7-xpmjgithub.comRetrieved 3 December 2026
  8. web reference for GHSA-wrvc-72w7-xpmjgithub.comRetrieved 3 December 2026
  9. package reference for GHSA-wrvc-72w7-xpmjgithub.comRetrieved 3 December 2026

Full record

Finding
NMN-2026-0111
Category
vulnerability
Component
sodiumoxide (crates.io)sodiumoxide: from 0.0.0-0 before 0.2.5
Severity
Unknown. Rated by the source advisory.The source advisory RUSTSEC-2019-0026 gives no severity label. Noumen has not assessed it.
Confidence
High.The affected range comes from the advisory; no system that uses the component has been assessed.
State
Candidate. Machine- or researcher-generated; not independently verified.
Disclosure
Public
Mitigation
Upgrade sodiumoxide to 0.2.5 or later.
Discovery method
imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
Reproduction
No reproduction steps recorded.
Affected systems
None listed. A link to a system needs its own evidence.
Attribution
Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
Assigned reviewer
Nobody yet
Dates
Created 3 December 2026, 16:50 UTCUpdated 3 December 2026, 16:50 UTC
Summary, as published by the source advisory
As published by the source advisory
PartialEq implementation for generichash::Digest has compared itself to itself. Digest::eq always returns true and Digest::ne always returns false.

2 events, oldest first

History

History verified: 2 eventsLatest hash9046c86e036f9046c86e036f7360e64c1c8f38a7d55b019bc0f8baf3c0f880b784d9f5233f21

  1. Record createdMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: Imported from public advisory GHSA-wrvc-72w7-xpmj.

    Entered the record in the state Candidate.

    Event 1 hash1c2fa9f381421c2fa9f38142c2dd64963f3ad857ad71b5d612eafefdd3bf412ca01248b23ce2
  2. CorrectionMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: The source advisory RUSTSEC-2019-0026 changed.

    Title

    Before

    Incorrect Comparison in sodiumoxide

    After

    generichash::Digest::eq always return true

    Sources

    Before

    [ { "url": "https://osv.dev/vulnerability/GHSA-wrvc-72w7-xpmj", "title": "OSV record GHSA-wrvc-72w7-xpmj", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-25002", "title": "advisory reference for GHSA-wrvc-72w7-xpmj", "retrieved": "2026-12-03" }, { "url": "https://github.com/sodiumoxide/sodiumoxide/pull/381", "title": "web reference for GHSA-wrvc-72w7-xpmj", "retrieved": "2026-12-03" }, { "url": "https://github.com/sodiumoxide/sodiumoxide/pull/381/commits/fae052b834b097ced9a89a8fff8466e18f383070", "title": "web reference for GHSA-wrvc-72w7-xpmj", "retrieved": "2026-12-03" }, { "url": "https://github.com/sodiumoxide/sodiumoxide/commit/38490723927f230498adf795153e6cd3cb08b6a8", "title": "web reference for GHSA-wrvc-72w7-xpmj", "retrieved": "2026-12-03" }, { "url": "https://github.com/sodiumoxide/sodiumoxide", "ti... (236 more characters)

    After

    [ { "url": "https://osv.dev/vulnerability/RUSTSEC-2019-0026", "title": "OSV record RUSTSEC-2019-0026", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/sodiumoxide", "title": "package reference for RUSTSEC-2019-0026", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2019-0026.html", "title": "advisory reference for RUSTSEC-2019-0026", "retrieved": "2026-12-03" }, { "url": "https://github.com/sodiumoxide/sodiumoxide/pull/381", "title": "web reference for RUSTSEC-2019-0026", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-wrvc-72w7-xpmj", "title": "OSV record GHSA-wrvc-72w7-xpmj", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-25002", "title": "advisory reference for GHSA-wrvc-72w7-xpmj", "retrieved": "2026-12-03" }, { "url": "https://gi... (513 more characters)

    Summary

    Before

    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.

    After

    PartialEq implementation for generichash::Digest has compared itself to itself. Digest::eq always returns true and Digest::ne always returns false.

    Affected versions

    Before

    [ { "name": "sodiumoxide", "ranges": [ { "fixed": "0.2.5", "introduced": "0.2.0" } ], "ecosystem": "crates.io" } ]

    After

    [ { "name": "sodiumoxide", "ranges": [ { "fixed": "0.2.5", "introduced": "0.0.0-0" } ], "ecosystem": "crates.io" } ]

    Severity

    Before

    critical

    After

    unknown

    severityRationale

    Before

    Severity as labelled by the source advisory GHSA-wrvc-72w7-xpmj. CVSS as given: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Noumen has not assessed it.

    After

    The source advisory RUSTSEC-2019-0026 gives no severity label. Noumen has not assessed it.

    Event 2 hash9046c86e036f9046c86e036f7360e64c1c8f38a7d55b019bc0f8baf3c0f880b784d9f5233f21
About this record

Severity and confidence are rated separately, each with its own reason.

History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.

Corrections keep the value before and after.