IntelligenceFindingsNMN-2026-0133
Miscomputed results when using AVX2 backend
CandidateMachine- or researcher-generated; not independently verified.
In short
What to know.
- Package
- sha2 crates.iosha2: from 0.9.7 before 0.9.8
- What to do
- Upgrade sha2 to 0.9.8 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.
- Candidate
- In review
- Reproduced
- Confirmed
- Resolved
- Disputed
- Withdrawn
9 listed
Sources
- OSV record RUSTSEC-2021-0100osv.devRetrieved 3 December 2026
- package reference for RUSTSEC-2021-0100crates.ioRetrieved 3 December 2026
- advisory reference for RUSTSEC-2021-0100rustsec.orgRetrieved 3 December 2026
- web reference for RUSTSEC-2021-0100github.comRetrieved 3 December 2026
- OSV record GHSA-xpww-g9jx-hp8rosv.devRetrieved 3 December 2026
- package reference for GHSA-xpww-g9jx-hp8rgithub.comRetrieved 3 December 2026
- OSV record GHSA-fc7x-2cmc-8j2gosv.devRetrieved 3 December 2026
- advisory reference for GHSA-fc7x-2cmc-8j2gnvd.nist.govRetrieved 3 December 2026
- web reference for GHSA-fc7x-2cmc-8j2graw.githubusercontent.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0133
- Category
- vulnerability
- Component
- sha2 (crates.io)sha2: from 0.9.7 before 0.9.8
- Severity
- Unknown. Rated by the source advisory.The source advisory RUSTSEC-2021-0100 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 sha2 to 0.9.8 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.
- Related advisories
- GHSA-fc7x-2cmc-8j2gCVE-2021-45696GHSA-xpww-g9jx-hp8rRUSTSEC-2021-0100
- 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
3 events, oldest first
History
History verified: 3 eventsLatest hash5341afb8bb1e5341afb8bb1e72ad645fe28f894d694c14571346f04d4e268122c6f90383dcd8
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-fc7x-2cmc-8j2g.
Entered the record in the state Candidate.
Event 1 hashfbdad359a79cfbdad359a79cdcc4cd5d45174ed2588c53ef069c4ea936177733f6e1a9fb4938CorrectionMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: The source advisory GHSA-xpww-g9jx-hp8r changed.
Event 2 hashTitle
Before
Incorrect hash in sha2
After
Miscomputed sha2 results when using AVX2 backend
Sources
Before
[ { "url": "https://osv.dev/vulnerability/GHSA-fc7x-2cmc-8j2g", "title": "OSV record GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45696", "title": "advisory reference for GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes/pull/314", "title": "web reference for GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes", "title": "package reference for GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/sha2/RUSTSEC-2021-0100.md", "title": "web reference for GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2021-0100.html", "title": "web reference for GHSA-fc7x-2cmc-8j2g", "retr... (25 more characters)
After
[ { "url": "https://osv.dev/vulnerability/GHSA-xpww-g9jx-hp8r", "title": "OSV record GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes/pull/314", "title": "web reference for GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes", "title": "package reference for GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2021-0100.html", "title": "web reference for GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-fc7x-2cmc-8j2g", "title": "OSV record GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45696", "title": "advisory reference for GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://raw... (167 more characters)
Summary
Before
The v0.9.7 release of the sha2 crate introduced a new AVX2-accelerated backend which was automatically enabled for all x86/x86_64 CPUs where AVX2 support was autodetected at runtime. This backend was buggy and would miscompute results for long messages (i.e. messages spanning multiple SHA blocks). The crate has since been yanked, but any users who upgraded to v0.9.7 should immediately upgrade to v0.9.8 and recompute any hashes which were previously computed by v0.9.7.
After
The v0.9.7 release of the `sha2` crate introduced a new AVX2-accelerated backend which was automatically enabled for all x86/x86_64 CPUs where AVX2 support was autodetected at runtime. This backend was buggy and would miscompute results for long messages (i.e. messages spanning multiple SHA blocks). The crate has since been yanked, but any users who upgraded to v0.9.7 should immediately upgrade to v0.9.8 and recompute any hashes which were previously computed by v0.9.7.
Affected versions
Before
[ { "name": "sha2", "ranges": [ { "fixed": "0.9.8", "introduced": "0.9.7" } ], "versions": [ "0.9.7" ], "ecosystem": "crates.io" } ]
After
[ { "name": "sha2", "ranges": [ { "fixed": "0.9.8", "introduced": "0.9.7" } ], "versions": [ "0.9.7" ], "ecosystem": "crates.io" } ]
Severity
Before
critical
After
high
severityRationale
Before
Severity as labelled by the source advisory GHSA-fc7x-2cmc-8j2g. 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
Severity as labelled by the source advisory GHSA-xpww-g9jx-hp8r. Noumen has not assessed it.
8c512f5753ba8c512f5753baa6f4d91ab90ff9fa0fe07c51e11a70c8d8dbb3a0f384738852c3CorrectionMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: The source advisory RUSTSEC-2021-0100 changed.
Event 3 hashTitle
Before
Miscomputed sha2 results when using AVX2 backend
After
Miscomputed results when using AVX2 backend
Sources
Before
[ { "url": "https://osv.dev/vulnerability/GHSA-xpww-g9jx-hp8r", "title": "OSV record GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes/pull/314", "title": "web reference for GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes", "title": "package reference for GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2021-0100.html", "title": "web reference for GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-fc7x-2cmc-8j2g", "title": "OSV record GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45696", "title": "advisory reference for GHSA-fc7x-2cmc-8j2g", "retrieved": "2026-12-03" }, { "url": "https://raw... (167 more characters)
After
[ { "url": "https://osv.dev/vulnerability/RUSTSEC-2021-0100", "title": "OSV record RUSTSEC-2021-0100", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/sha2", "title": "package reference for RUSTSEC-2021-0100", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2021-0100.html", "title": "advisory reference for RUSTSEC-2021-0100", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes/pull/314", "title": "web reference for RUSTSEC-2021-0100", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-xpww-g9jx-hp8r", "title": "OSV record GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://github.com/RustCrypto/hashes", "title": "package reference for GHSA-xpww-g9jx-hp8r", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-... (437 more characters)
Affected versions
Before
[ { "name": "sha2", "ranges": [ { "fixed": "0.9.8", "introduced": "0.9.7" } ], "versions": [ "0.9.7" ], "ecosystem": "crates.io" } ]
After
[ { "name": "sha2", "ranges": [ { "fixed": "0.9.8", "introduced": "0.9.7" } ], "ecosystem": "crates.io" } ]
Severity
Before
high
After
unknown
severityRationale
Before
Severity as labelled by the source advisory GHSA-xpww-g9jx-hp8r. Noumen has not assessed it.
After
The source advisory RUSTSEC-2021-0100 gives no severity label. Noumen has not assessed it.
5341afb8bb1e5341afb8bb1e72ad645fe28f894d694c14571346f04d4e268122c6f90383dcd8
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.