IntelligenceAdvisoriesAdvisory
RUSTSEC-2026-0428
BLAKE2b produces wrong tag when using `reset()` with a different-length key
In short
What to know.
- Package
- orion crates.iofrom 0.18.0-0 before 0.18.1
- What to do
- Upgrade orion to 0.18.1 or later.
- Source's rating
- Not ratedNoumen has not assessed it.
- Noumen finding
- NMN-2026-0105Candidate. Severity unknown, confidence high.
3 December 2026
Source
- OSV record RUSTSEC-2026-0428osv.devRetrieved 3 December 2026
Full record
- Identifier
- RUSTSEC-2026-0428
- Aliases
- GHSA-xcc6-f2jq-43x6
- Severity
- Not rated, as rated by the source. Noumen has not assessed it.
- Fixed versions
- 0.18.1
- Published
- 30 October 2026
- Modified
- 30 October 2026
- Source
- OSV record RUSTSEC-2026-0428, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| orion crates.io | from 0.18.0-0 before 0.18.1 | 0.18.1 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
## 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`.