Advisory record · GHSA-fc7x-2cmc-8j2g

Incorrect hash in sha2

CVSS 9.8 CriticalCriticalEPSS 0.0083 · 58th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 6 Jan 2022, 22:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
sha2crates.io>=0.9.7, <0.9.80.9.8
Identifiers
GHSA-fc7x-2cmc-8j2g · CVE-2021-45696 · GHSA-xpww-g9jx-hp8r · RUSTSEC-2021-0100
Weakness (CWE)
CWE-327
Published
6 Jan 2022
Updated
8 Nov 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The sha2 crate versions from 0.9.7 before 0.9.8 are affected. On x86 and x86_64 CPUs that support AVX2, its newer AVX2 backend can produce incorrect SHA hash results for messages spanning multiple blocks. The source gives few details on how an attacker could exploit this. Users should upgrade to sha2 0.9.8 and recompute any hashes previously calculated with 0.9.7.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0083, the 58th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:21 UTC First seen by agentprime
  2. 31 Oct 2026, 15:21 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.