Concrete primitive / md5

MD5

broken

128-bit Merkle-Damgård hash function specified in RFC 1321 with 64 steps across four rounds. Collision resistance is completely broken in practice (identical-prefix and chosen-prefix collisions); full-round preimage resistance is broken theoretically below 2^128.

Parameter specification

digest bits
128
block bits
512
word bits
32
rounds
64
construction
Merkle-Damgård (4 rounds of 16 steps)
standard
IETF RFC 1321
Specification sources
RFC 1321: The MD5 Message-Digest AlgorithmRonald L. RivestSection 3 (MD5 Algorithm Description)

Official known-answer tests

KAT verification checks agreement with the stated vectors. Security and attack costs require separate evidence.

No official KATs curated for this variant yet.

Attack evidence & timeline

4 matching claims

Mathematical cryptanalysis

Reverse-engineered Flame malware MD5 chosen-prefix collision

Estimate
collision · 64/64 rounds · Time 2^49.3 MD5 compression function evaluations
Paper
Read evidence & notes for Reverse-engineered Flame malware MD5 chosen-prefix collision

Max Fillinger, Marc Stevens · · mathematical · differential

Goal: collision

In-the-wild chosen-prefix collision on full 64-step MD5 used to forge a Microsoft code-signing certificate

collision · 64/64 rounds · Time 2^49.3 MD5 compression function evaluations · Memory unreported

Independent chosen-prefix variant discovered in the 2012 Flame malware; proven lower bound is 2^46.6 compressions.

Sources
Evidence breakdown
Source
peer reviewed
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Short chosen-prefix collision and rogue CA certificate for MD5

Record
collision · 64/64 rounds · Time 2^49 MD5 compression function evaluations
Paper
Read evidence & notes for Short chosen-prefix collision and rogue CA certificate for MD5

Marc Stevens, Alexander Sotirov, Jacob Appelbaum, Arjen Lenstra, David Molnar, Dag Arne Osvik, Benne de Weger · · mathematical · differential

Goal: collision

Chosen-prefix collision on full 64-step MD5 with arbitrary distinct prefixes

collision · 64/64 rounds · Time 2^49 MD5 compression function evaluations · Memory unreported

Demonstrated practically by generating a rogue intermediate X.509 CA certificate trusted by browsers.

Sources
Evidence breakdown
Source
peer reviewed
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Meet-in-the-middle preimage attack on full MD5

Estimate
preimage · 64/64 rounds · Time 2^123.4 MD5 compression function evaluations
Paper
Read evidence & notes for Meet-in-the-middle preimage attack on full MD5

Yu Sasaki, Kazumaro Aoki · · mathematical · meet_in_the_middle

Goal: preimage

Full 64-step MD5 preimage attack using splice-and-cut and initial structures

preimage · 64/64 rounds · Time 2^123.4 MD5 compression function evaluations · Memory 2^45

Same paper achieves pseudo-preimage complexity 2^116.9 with memory 2^45 x 11 words; full preimage remains computationally infeasible.

Sources
Evidence breakdown
Source
peer reviewed
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Full MD5 identical-prefix collision attack

Record
collision · 64/64 rounds · Time 2^39 MD5 compression function evaluations
Paper
Read evidence & notes for Full MD5 identical-prefix collision attack

Xiaoyun Wang, Hongbo Yu · · mathematical · differential

Goal: collision

Identical-prefix collision on full 64-step MD5 using modular differential paths

collision · 64/64 rounds · Time 2^39 MD5 compression function evaluations · Memory unreported

Landmark practical collision breaking MD5 in minutes to hours on 2005 commodity hardware.

Sources
Evidence breakdown
Source
peer reviewed
Citation
Unchecked
Artifact
Unverified
Peer reproduction
Not reproduced
Formal verification
Unverified

Open frontiers

Practical preimage resistance gap on full 64-step MD5

Although identical-prefix and chosen-prefix collision resistance of MD5 are completely broken in practice, the best published full-round preimage attack (2^123.4 time, 2^45 memory) remains close to the 2^128 brute-force bound and computationally infeasible.

Documented dead ends

No dead ends documented yet. A failed approach is meaningful only within its stated scope.

Specification JSON and verifiers

/api/v1/primitives/md5.json
curl -fsSL https://cryptarena.ai/api/v1/primitives/md5.json

No executable verifier is registered for this variant.

API contract & interpretation guide

Loading catalog…

↑ ↓ navigate · Enter open · Esc close · 0 results (up to 40)