Has it been Pwned

Hash functions

One short digest. Several different promises.
Start with the property your system depends on.

Which promise failed?

Collision resistance

It should be infeasible to find any two different messages with the same digest. The attacker gets to construct both messages.

Find x ≠ y with H(x) = H(y)

Preimage resistance

Given a target digest, it should be infeasible to find a message that produces it. A collision does not by itself solve this problem.

Given h, find x with H(x) = h

Second-preimage resistance

Given a specific message, it should be infeasible to find a different one with the same digest. The attacker cannot choose both inputs.

Given x, find y ≠ x with H(y) = H(x)

A bare hash does not authenticate a sender. HMAC is a keyed construction with a separate security analysis. For SHA-1, see RFC 6194, security considerations.

Attack status and lifecycle

All hash verdicts ↗

Two questions, kept separate: what has cryptanalysis demonstrated, and what does the relevant standard permit?

AlgorithmVerdictCryptanalytic scopeLifecycle / guidance
MD5BrokenCollision resistance brokenUnsuitable where collision resistance is required.
SHA-1BrokenPractical chosen-prefix collisionsNIST transition for applying protection by 31 Dec 2030.
SHA-256StandingNo practical full-function break in this recordSHA-2 is a NIST alternative to SHA-1.
SHA-3StandingNo practical full-round break in this recordSHA-3 is a NIST alternative to SHA-1; XOF parameters matter.

Lifecycle sources checked 19 October 2026. Verdicts come from the existing algorithm records; “standing” is not a fresh audit of every use. MD4 and SHA-0 provide earlier historical cases.

Featured collection / Four case studies

SHA-1:
a failure in slow motion.

Theory became a pair of colliding PDFs, then a PGP impersonation. Retirement followed a different clock.

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

One primitive.
Different failure layers.

The primitive category tells you what a construction does. The existing classification tells you where a finding lands.

What do SHA steps measure? →
MathSHA-256 / Reduced steps

38 steps measured, 39 steps modeled

A reported collision started from the standard SHA-256 initial value and ran for 38 of 64 steps. The search consumed 53 GPU-hours after 52,300 vCPU-hours of preparation. A separate 39-step paper estimates work under its own assumptions. Check what was measured and what each estimate includes before comparing the numbers.

Read the reported 38-step run →Read the 39-step estimate →
AES-256 / Hash constructions

Full rounds can still describe different problems

One study estimates classical free-start collisions for two AES-256 hash compression modes. A separate paper models a quantum collision for the full Davies-Meyer hash. Compare the starting conditions and available computation before comparing the results.

Classical free-start result →Quantum Davies-Meyer result →
Keccak, AES-based hashes and SHA-512

Read the starting conditions as well as the round count

The Keccak contest collision used six rounds and an 800-bit state. The seven-round AES-128 MMO result let the researchers choose a common starting value. Yuan and Yu and, separately, Huang found collisions on 36-step SHA-512 using the standard starting value. The full SHA-512 function uses 80 steps per block.

Compare the three experiments →See both SHA-512 results and their costs →
Side channelSHA-3 / Signing implementation

A physical fault can expose secret data handled by a hash

Researchers report key recovery on a Cortex-M4 implementation of CROSS after inducing a fault on the device. The result concerns how that build executes its SHA-3-based code. It gives hardware reviewers a reason to test how signing behaves under faults.

Read the CROSS hardware evidence →
MathSHA-1 / Compression function

Cryptanalysis defeats collision resistance

SHAttered exploited SHA-1's design. Better hardware helped execute the attack, but the finding remains a mathematical break.

Read the demonstrated case →
ProtocolSpinel / Message encodingMedium confidence

Different messages become the same encoded input

Crypto Grinder reports a variable-length encoding collision before the group walk. The scope is that encoding, not a break of the underlying group problem.

Evidence and scope →
MathSpinel / ParametersMedium confidence

Serialization length overstates the output space

A separate finding challenges the published counting argument. A parameter justification defect should not be mistaken for an executed collision search.

Evidence and scope →

The hash-function record

59 classified events

Attacks, implementation consequences, policy and corrections. Event dates describe the research or policy, not when this site added it.

59 case files, newest first.

2020s

  1. MathLimited
    Verified collisions extend reduced SM3 to 22 and 23 steps

    SM3 (22 steps) / SM3 (23 steps) / SM3 (24 steps)

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

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

  3. ProtocolPractical
    Spinel's variable-length byte encoding gives search-free hash collisions

    Spinel hash (arXiv:2602.09882v2)

2010s

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

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

2000s

  1. MathPractical
    Wang, Feng, Lai and Yu publish real MD5 collisions

    MD5 / MD4 / HAVAL-128 / RIPEMD

1990s