{"id":"RUSTSEC-2026-0428","aliases":["GHSA-xcc6-f2jq-43x6"],"title":"BLAKE2b produces wrong tag when using `reset()` with a different-length key","titleSource":"OSV","descriptionSource":"OSV","description":"## Summary\n\n`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. \n\n## Impact\n\nInitialization `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.\n\n## Resolution\n\nUpgrade to `v0.17.16` or `v0.18.1`.","severity":"unknown","score":null,"published":"2026-10-30T12:00:00.000Z","modified":"2026-10-30T11:15:02.170Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"orion","sources":[{"name":"OSV · RUSTSEC-2026-0428","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0428"}],"ranges":[{"events":[{"introduced":"0.0.0-0"},{"fixed":"0.17.16"},{"introduced":"0.18.0-0"},{"fixed":"0.18.1"}],"type":"SEMVER"}],"versions":[],"fixed":["0.17.16","0.18.1"]}],"sourceAffected":[],"references":["https://crates.io/crates/orion","https://rustsec.org/advisories/RUSTSEC-2026-0428.html","https://github.com/orion-rs/orion/pull/690"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0428","modified":"2026-10-30T11:15:02.170453141Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0428"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-10-30T11:20:59.300Z","kev":{"status":"unavailable","checkedAt":"2026-11-28T23:55:31.062Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}