Has it been Pwned

SHA-1.
Anatomy of a retirement.

A mathematical warning. Two colliding documents. A forged identity. A transition still measured in years.

Four case studies / Sources reviewed 19 October 2026

  1. 2005The warningCollision resistance weakens
  2. 2017SHAtteredTwo PDFs, one digest
  3. 2020SHA-mblesA signature crosses identities
  4. 2030The long retirementNIST transition target
Cryptanalytic verdict

Broken Collision resistance

Scope boundary

These collisions do not establish preimage or HMAC key-recovery attacks.

Lifecycle

NIST transition target: 31 December 2030 for applying cryptographic protection.

SHA-1 and the November collision research

The 2017 and 2020 SHA-1 demonstrations produced collisions on the full standardized hash. The November 2026 SHA-512 result reached 36 of 80 steps, and the Keccak result used a six-round contest variant with its own parameters. For systems still using SHA-1, the established collision evidence and NIST's transition guidance are the basis for migration.

01

2005 / Wang, Yin and Yu

The warning came before the demonstration.

MathImpact: theoreticalConfidence: high

Wang, Yin and Yu described a full SHA-1 collision attack below 269 operations, compared with the generic birthday scale of 280. The security margin had weakened even though a full collision had not yet been computed.

What changed

Collision resistance fell below its intended strength. This was new cryptanalysis, not a larger brute-force machine.

What it did not show

No practical full-function collision was published in this work. Finding an input for an existing digest remained a separate problem.

The lesson: migration can begin when the security argument fails, before a public demonstration makes the consequences tangible.

02

23 February 2017 / CWI and Google

Two different PDFs.
Exactly the same SHA-1.

MathImpact: practicalConfidence: high

SHAttered supplied a concrete pair of colliding files. The authors crafted a common PDF prefix and computed collision blocks so that the documents could display different content while sharing a SHA-1 digest.

Different files, indistinguishable by SHA-1
Document Ashattered-1.pdfSHA-2562bb787a73e37352f92383abe7e2902936d1059ad9f1ba6daaa9c1e58ee6970d0
Document Bshattered-2.pdfSHA-256d4488775d29bdef7993367d541064dbdda50d383f89f0aa13a6ff2e0894ba5ff
Same SHA-1 digest38762cf7f55934b34d179ae6a4c80cadccbb7f0a

The SHA-256 digests differ. Values come from the published PDF pair, checked locally on 1 October 2026.

What changed

The collision was executed, with about 263.1 SHA-1 compression-function calls reported in the paper. Collision-dependent applications faced a demonstrated attack.

What it did not show

This was not a way to replace any pre-existing document with an arbitrary forgery. The attacker prepared both documents, including a shared prefix.

The lesson: a matching SHA-1 digest is insufficient evidence that two attacker-controlled documents are identical.

03

7 January 2020 / Leurent and Peyrin

A collision crosses an identity boundary.

MathImpact: practicalConfidence: high

SHA-mbles made chosen-prefix collisions practical. The two messages could begin with different meaningful content. The researchers constructed PGP keys with different identities whose SHA-1 certifications collided, allowing a certification signature to transfer between them.

Chosen-prefix collision, schematically
Identity A prefixComputed suffix ASame digest
Identity B prefixComputed suffix BSame digest

The attacker chooses both prefixes and computes suitable suffixes. An existing target message is not freely rewritten.

What changed

A demonstrated OpenPGP impersonation connected the hash weakness to a trust decision. The computation used 900 GTX 1060 GPUs for roughly two months.

What it did not show

The victim's RSA private key was not recovered. The demonstration depended on accepting SHA-1 certifications over attacker-prepared identity material.

The lesson: identify the signature format and acceptance rules. “SHA-1 collision” becomes a system compromise only through a concrete trust path.

Historical cost: about $75,000 paid for the research computation. The authors' lower cost estimates and later projections are not measurements of current attack prices.

04

Policy / Transition target 31 December 2030

A cryptographic break and a retirement are different events.

MilestoneImpact: none (policy event)Confidence: high

NIST's December 2022 plan sets the end of 2030 as the transition deadline for using SHA-1 to apply cryptographic protection in all applications. It separately acknowledges that handling previously protected information can still require SHA-1 afterward.

Final NIST IR 8547 reiterates the transition for FIPS-validated modules after 2030. GitHub confirmed that it disabled SHA-1 in HTTPS on 15 September 2026. Its separate SSH schedule lists temporary disablements on 4 November and 9 December, with permanent removal on 13 January 2027. Existing RSA keys can use SHA-2 signatures with a compatible SSH client.

NIST transition target31 / 12 / 2030

Applying new cryptographic protection

What changes

Policy reaches beyond the specific applications broken by collisions. NIST names SHA-2 and SHA-3 as alternatives and recommends transitioning as soon as possible.

What it does not mean

The deadline is not a claim that SHA-1 signatures remain secure until then. Nor does it show that HMAC-SHA-1 fell to the demonstrated collision attacks.

The lesson: inventory uses separately: signature generation, historical verification, HMAC, key derivation and other dependencies. Their failure mechanisms and migration constraints differ.

Follow the evidence further

Back to hash functions ↗

The existing chart datasets remain available below. They include historical estimates, withdrawn claims and projections, each distinct from executed attacks.

Explore collision costs, retirement milestones and the MD5 comparison

The collision-cost charts draw on historical measurements and projections compiled on 1 October 2026. The GitHub and NIST milestones in the retirement chart were checked on 23 November 2026.

The cost to collide SHA-1

Selected published attack costs, as log2 of SHA-1 computations. Filled marks were executed; hollow marks are estimates. A generic attack needs 2^80. Freestart results and withdrawn claims are distinguished from full collisions.

  • Identical-prefix collision
  • Chosen-prefix collision
  • Freestart (attacker picks the IV)
  • Hollow: estimate, not executed
2^502^552^602^652^702^752^80Work1995200020052010201520202025NowGeneric bound
Table view
DateAttackTypelog2 workExecutedUSDSource
1995-04Generic birthday bound for a 160-bit hashgeneric80no[1]
2005-02Wang-Yin-Yu collision attackcollision69no[1] [2]
2005-08Wang-Yao-Yao improved collision attack (CRYPTO 2005 rump session; unpublished)collision63no[1] [2]
2007-08Mendel-Rechberger-Rijmen collision estimate (unpublished)collision61no[1] [2]
2009-04McDonald-Hawkes-Pieprzyk differential path (withdrawn Aug 2009)collision52no[1] [2]
2012-10Jesse Walker cost projection (via Schneier), based on 2^61 attack + EC2 prices + Moore's lawcollision61no$2.8M[1]
2013-05Stevens identical-prefix collision attackcollision61no[1] [2]
2013-05Stevens near-collision attack (open-source)near-collision57.5no[1]
2013-05Stevens first SHA-1 chosen-prefix collision attackchosen-prefix77.1no[1]
2015-10The SHAppening freestart collision (Stevens, Karpman, Peyrin)freestart57.5yes$2k[1]
2015-10SHAppening projection for a full SHA-1 collisioncollision64.7no$75k[1]
2017-02SHAttered identical-prefix collision (CWI + Google)collision63.1yes$110k[1] [2] [3]
2019-05Leurent-Peyrin chosen-prefix attack (EUROCRYPT 2019)chosen-prefix66.9no$1.2M[1]
2020-01Shambles identical-prefix collision (improved)collision61.2no$11k[1] [2]
2020-01SHA-1 is a Shambles chosen-prefix collision (Leurent-Peyrin)chosen-prefix63.4yes$76k[1] [2]
2020-01Shambles authors' projection for 2025chosen-prefix63.4no$10k[1]
2021-05ASIC cluster cost study (Chattopadhyay, Khairallah, Leurent, Najm, Peyrin, Velichkov; CT-RSA 2021)chosen-prefix63.4no[1] [2]
2025-01drand blog back-of-envelope estimate: identical-prefix on 2025 GPUscollision61.6no$12k[1]
2025-01drand blog back-of-envelope estimate: chosen-prefix on 2025 GPUschosen-prefix63.4no$10k[1]

What a collision costs in dollars

Historical estimates, projections and actual spend, log scale. These are not current rental prices. SHAttered's GPU phase was estimated at $110,000 on cloud spot instances. Three years later a chosen-prefix collision, the kind that forges real identities, cost $75,600 in rented gaming GPUs.

  • Identical-prefix
  • Chosen-prefix
  • Hollow: estimate or projection
$1k$10k$100k$1.0M$10MUS dollars2010201220142016201820202022202420262028Now
Table view
DateEstimateTypeUSDActual spendSource
2012-10Jesse Walker cost projection (via Schneier), based on 2^61 attack + EC2 prices + Moore's lawcollision$2.8Mno, estimate[1]
2015-10The SHAppening freestart collision (Stevens, Karpman, Peyrin)freestart$2kno, estimate[1]
2015-10SHAppening projection for a full SHA-1 collisioncollision$75kno, estimate[1]
2017-02SHAttered identical-prefix collision (CWI + Google)collision$110kno, estimate[1] [2] [3]
2019-05Leurent-Peyrin chosen-prefix attack (EUROCRYPT 2019)chosen-prefix$1.2Mno, estimate[1]
2020-01Shambles identical-prefix collision (improved)collision$11kno, estimate[1] [2]
2020-01SHA-1 is a Shambles chosen-prefix collision (Leurent-Peyrin)chosen-prefix$76kyes[1] [2]
2020-01Shambles authors' projection for 2025chosen-prefix$10kno, estimate[1]
2025-01drand blog back-of-envelope estimate: identical-prefix on 2025 GPUscollision$12kno, estimate[1]
2025-01drand blog back-of-envelope estimate: chosen-prefix on 2025 GPUschosen-prefix$10kno, estimate[1]

The long goodbye

Who stopped trusting SHA-1, and when. Hollow marks show scheduled dates. NIST targets the end of 2030 for ending new cryptographic protection with SHA-1.

200520102015202020252030NISTCAs and browsersIETFGit and GitHubOS and toolsTheory: 2^69SHAtteredChosen-prefix
Table view
DateWhoAction
2006-03-15NISTPolicy on Hash Functions: agencies should stop using SHA-1 for digital signatures and time stamps, SHA-2 required for these after 2010 (HMAC/KDF/RNG still allowed); revised 2015-08-05
2011-01NISTSP 800-131A: SHA-1 signature generation deprecated 2011-2013, disallowed after 2013-12-31; verification legacy-use; non-signature uses acceptable
2013-11-12MicrosoftAdvisory 2880823: no SHA-1 SSL/code-signing certificates from root program CAs after 2016-01-01; Windows to reject SHA-1 SSL certificates after 2017-01-01
2014-09-05Google ChromeGradual SHA-1 sunset via degraded HTTPS indicators in Chrome 39-41 for certificates valid into 2016-2017
2014-10-16CA/Browser ForumBallot 118: no new SHA-1 subscriber or subordinate CA certificates from 2016-01-01 (OCSP signing until 2017-01-01)
2015-10CA/Browser ForumBallot 152 (one-year extension of SHA-1 issuance) withdrawn after SHAppening cost estimates
2016-11-16Google ChromeAnnounces removal of SHA-1 certificate trust in Chrome 56; local-anchor policy until 2019
2017-01Google ChromeChrome 56 stable (around end of January 2017) stops trusting SHA-1 certificates from public CAs
2017-02-24MozillaSHA-1 certificate distrust (phased in since Firefox 51) reaches all Firefox users; default in Firefox 52
2017-05-09MicrosoftAdvisory 4010323: Edge and IE11 block SHA-1 TLS certificates chaining to Microsoft Trusted Root Program
2017-05-09GitGit 2.13.0 makes sha1collisiondetection (SHA1DC) the default SHA-1 implementation
2018-08IETFRFC 8446 (TLS 1.3): SHA-1 forbidden in CertificateVerify; SHA-1 certificate signatures legacy-only
2019-11-25GnuPGGnuPG 2.2.18 ignores SHA-1 identity signatures created after 2019-01-19 (CVE-2019-14855)
2020-02-14OpenSSHOpenSSH 8.2 future-deprecation notice for ssh-rsa (RSA/SHA-1)
2020-08-03MicrosoftSHA-1-signed Windows content retired from the Microsoft Download Center
2020-10-19GitGit 2.29.0: experimental SHA-256 object format
2021-09-07OpenSSLOpenSSL 3.0.0: SHA-1-signed X.509 certificates rejected at security level 1+ (default)
2021-09-26OpenSSHOpenSSH 8.8 disables ssh-rsa (RSA/SHA-1) signatures by default
2021-12IETFRFC 9155: MD5 and SHA-1 signature hashes deprecated in TLS 1.2 / DTLS 1.2
2022-05Red HatRHEL 9 DEFAULT crypto policy disallows SHA-1 signatures in TLS/DTLS/SSH/IKEv2/DNSSEC/Kerberos; RPM distrusts SHA-1 package signatures
2022-12-15NISTSHA-1 to be retired for all applications by 2030-12-31; FIPS 180-5 and SP 800-131A revision planned
2023-08-21GitGit 2.42.0 drops the 'experimental' warning on SHA-256 repositories
2024-07IETFRFC 9580 (OpenPGP): MUST NOT generate MD5/SHA-1/RIPEMD-160 signatures
2024-10-21NISTSP 800-131A Rev. 3 initial public draft: SHA-1 and 224-bit hashes deprecated through 2030, disallowed for applying protection after 2030 (still a draft as of 2026-10)
2025-08-18GitGit 2.51.0: flipping the default hash to SHA-256 at Git 3.0 is planned
2025-11IETFRFC 9905: RSASHA1 and RSASHA1-NSEC3-SHA1 MUST NOT be used for DNSSEC signing (validation still required)
2025-11-17GitGit 2.52.0: beginning of SHA-1/SHA-256 interoperability work
2026-01-23CA/Browser ForumBallot SC097 passes: no SHA-1-signed CRLs and revocation of unexpired SHA-1 subordinate CA certificates, effective 2026-09-15
2026-09-15CA/Browser ForumSC097 effective date for TLS Baseline Requirements
2026-09-15GitHubConfirmed that SHA-1 was disabled in HTTPS on github.com and partner CDNs, including GitHub Enterprise Cloud services
2026-10-27NISTFinal IR 8547 reiterates that SHA-1 use in FIPS-validated cryptographic modules will be disallowed after 2030
2026-11-04
Scheduled
GitHubFirst temporary disablement of RSA/SHA-1 SSH signatures on GitHub's published schedule
2026-12-09
Scheduled
GitHubSecond temporary disablement of RSA/SHA-1 SSH signatures on GitHub's published schedule
2027-01-13
Scheduled
GitHubPermanent removal of RSA/SHA-1 SSH signatures on GitHub's published schedule
2027-04
Scheduled
GitPlanned (not yet released): Git 3.0 with SHA-256 default for new repositories, alongside 2.99 LTS, per LWN (Sept 2026)
2030-12-31
Scheduled
NISTDeadline: SHA-1 no longer used for applying cryptographic protection in federal/validated use

MD5 and SHA-1 in comparison

Best identical-prefix collision cost for MD5 (gray) and SHA-1. MD5 went from a theoretical weakness to collisions in seconds, then to forged certificates and the Flame malware. The attacks and affected deployments differ; these curves are historical comparisons.

  • SHA-1
  • MD5
2^162^242^322^402^482^562^642^722^80Work19901995200020052010201520202025Now
Table view
FunctionDateAttacklog2 work
MD51992-04Generic birthday bound for a 128-bit hash64
MD52004-08Wang-Feng-Lai-Yu identical-prefix collision40
MD52005Klima improved collision search37
MD52006-03Klima tunnels: MD5 collisions within a minute32
MD52007Stevens improved identical-prefix collision25
MD52009-08Stevens et al. identical-prefix collision (CRYPTO 2009)16
SHA-11995-04Generic birthday bound for a 160-bit hash80
SHA-12005-02Wang-Yin-Yu collision attack69
SHA-12005-08Wang-Yao-Yao improved collision attack (CRYPTO 2005 rump session; unpublished)63
SHA-12007-08Mendel-Rechberger-Rijmen collision estimate (unpublished)61

The SHA-1 record

34 events tagged SHA-1
Browse all SHA-1 attacks, policy events and corrections

2020s

  1. Milestone
    GitHub retires SHA-1 SSH signatures and adds hybrid ML-KEM key exchange

    SHA-1 / RSA-2048 / RSA-3072 / ML-KEM / X25519

2010s

  1. ProtocolPractical
    SLOTH: transcript collision attacks on TLS, IKE and SSH

    MD5 / SHA-1 / MD5||SHA-1

2000s

1990s

Source review is not independent reproduction of the full attacks. The 2005 paper link was unavailable during this review; its result was cross-checked against the IETF's RFC 6194. SHA-1 case copy uses the original papers and official announcements rather than the current SHAttered homepage.