Security mailing lists by PureSourceCode

RUSTSEC-2026-0428

not scored yet

BLAKE2b produces wrong tag when using `reset()` with a different-length key

Summary

hazardous::mac::blake2b::Blake2b::reset() does not correctly reset the state when a key is supplied that has a different length than the one used upon initialization with hazardous::mac::blake2b::Blake2b::new(), because it errorneously uses a cached length.

Impact

Initialization hazardous::mac::blake2b::Blake2b with a key of some length N, followed by a reset with a key of length != N will produce an incorrect BLAKE2b tag, causing hazardous::mac::blake2b::Blake2b::verify() to fail. This means under honest protocol conditions, parties could experience failing tag verifications.

Resolution

Upgrade to v0.17.16 or v0.18.1.

Published
30 Oct 2026
Last modified
30 Oct 2026
Also known as
GHSA-xcc6-f2jq-43x6
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io orion >= 0.0.0-0, < 0.17.16; >= 0.18.0-0, < 0.18.1 0.17.16, 0.18.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.