Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0132

HMAC-BLAKE2 algorithms compute incorrect results

CandidateMachine- or researcher-generated; not independently verified.

In short

What to know.

Package
blake2 crates.ioblake2: from 0.0.0-0 before 0.8.1
What to do
Upgrade blake2 to 0.8.1 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.

7 listed

Sources

  1. OSV record RUSTSEC-2019-0019osv.devRetrieved 3 December 2026
  2. package reference for RUSTSEC-2019-0019crates.ioRetrieved 3 December 2026
  3. advisory reference for RUSTSEC-2019-0019rustsec.orgRetrieved 3 December 2026
  4. report reference for RUSTSEC-2019-0019github.comRetrieved 3 December 2026
  5. OSV record GHSA-4x25-pvhw-5224osv.devRetrieved 3 December 2026
  6. advisory reference for GHSA-4x25-pvhw-5224nvd.nist.govRetrieved 3 December 2026
  7. package reference for GHSA-4x25-pvhw-5224github.comRetrieved 3 December 2026

Full record

Finding
NMN-2026-0132
Category
vulnerability
Component
blake2 (crates.io)blake2: from 0.0.0-0 before 0.8.1
Severity
Unknown. Rated by the source advisory.The source advisory RUSTSEC-2019-0019 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 blake2 to 0.8.1 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:51 UTCUpdated 3 December 2026, 16:51 UTC
Summary, as published by the source advisory
As published by the source advisory
When used in conjunction with the Hash-based Message Authentication Code (HMAC), the BLAKE2b and BLAKE2s implementations in `blake2` crate versions prior to v0.8.1 used an incorrect block size (32-bytes instead of 64-bytes for BLAKE2s, and 64-bytes instead of 128-bytes for BLAKE2b), causing them to miscompute the `MacResult`. The v0.8.1 release of the `blake2` crate uses the correct block sizes. Note that this advisory only impacts usage of BLAKE2 with HMAC, and does not impact `Digest` functionality.

2 events, oldest first

History

History verified: 2 eventsLatest hash459600f0e0b6459600f0e0b634365f4b0d648d8773327145a2b26678a4f425e535f1aed09917

  1. Record createdMachine-generated

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

    Reason: Imported from public advisory GHSA-4x25-pvhw-5224.

    Entered the record in the state Candidate.

    Event 1 hashfb4dd48d66ecfb4dd48d66ec334beae73a171fa02131e7fa8854f6fce546d68506ee00e01d42
  2. CorrectionMachine-generated

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

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

    Title

    Before

    Algorithms compute incorrect results in blake2

    After

    HMAC-BLAKE2 algorithms compute incorrect results

    Sources

    Before

    [ { "url": "https://osv.dev/vulnerability/GHSA-4x25-pvhw-5224", "title": "OSV record GHSA-4x25-pvhw-5224", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-16143", "title": "advisory reference for GHSA-4x25-pvhw-5224", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/MACs/issues/19", "title": "web reference for GHSA-4x25-pvhw-5224", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes/tree/master/blake2", "title": "package reference for GHSA-4x25-pvhw-5224", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2019-0019.html", "title": "web reference for GHSA-4x25-pvhw-5224", "retrieved": "2026-12-03" } ]

    After

    [ { "url": "https://osv.dev/vulnerability/RUSTSEC-2019-0019", "title": "OSV record RUSTSEC-2019-0019", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/blake2", "title": "package reference for RUSTSEC-2019-0019", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2019-0019.html", "title": "advisory reference for RUSTSEC-2019-0019", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/MACs/issues/19", "title": "report reference for RUSTSEC-2019-0019", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-4x25-pvhw-5224", "title": "OSV record GHSA-4x25-pvhw-5224", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-16143", "title": "advisory reference for GHSA-4x25-pvhw-5224", "retrieved": "2026-12-03" }, { "url": "https://github.com/... (127 more characters)

    Summary

    Before

    An issue was discovered in the blake2 crate before 0.8.1 for Rust. The BLAKE2b and BLAKE2s algorithms, when used with HMAC, produce incorrect results because the block sizes are half of the required sizes.

    After

    When used in conjunction with the Hash-based Message Authentication Code (HMAC), the BLAKE2b and BLAKE2s implementations in `blake2` crate versions prior to v0.8.1 used an incorrect block size (32-bytes instead of 64-bytes for BLAKE2s, and 64-bytes instead of 128-bytes for BLAKE2b), causing them to miscompute the `MacResult`. The v0.8.1 release of the `blake2` crate uses the correct block sizes. Note that this advisory only impacts usage of BLAKE2 with HMAC, and does not impact `Digest` functionality.

    Affected versions

    Before

    [ { "name": "blake2", "ranges": [ { "fixed": "0.8.1", "introduced": "0" } ], "ecosystem": "crates.io" } ]

    After

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

    Severity

    Before

    critical

    After

    unknown

    severityRationale

    Before

    Severity as labelled by the source advisory GHSA-4x25-pvhw-5224. 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-0019 gives no severity label. Noumen has not assessed it.

    Event 2 hash459600f0e0b6459600f0e0b634365f4b0d648d8773327145a2b26678a4f425e535f1aed09917
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.