Critical
CVE-2014-0160 · "Heartbleed"

Heartbleed Explained: How a Missing Check Leaked the Internet's Secrets

For two years, a tiny coding mistake in one of the internet's most trusted security libraries let attackers silently read private memory off of HTTPS servers — including passwords and encryption keys — with no trace left behind. This is Heartbleed.

Quick facts
CVE IDCVE-2014-0160
Affected softwareOpenSSL 1.0.1 through 1.0.1f
SeverityCVSS 7.5 (High) — sensitive data exposure at massive scale
Fixed inOpenSSL 1.0.1g
DisclosedApril 7, 2014

What Happened

OpenSSL implements the TLS "heartbeat" feature, which lets one side of a connection send a small message and ask the other side to echo it back, just to confirm the connection is still alive. The request includes the message and a length value saying how long it is.

OpenSSL's code trusted that length value without checking it matched the actual message. A client could say "my message is 64KB" while sending only a few bytes — and the server would copy 64KB of its own memory into the reply, leaking whatever happened to be sitting next to that tiny message: other users' session data, private encryption keys, even passwords.

What This Means

This is called a buffer over-read: the program reads past the end of the data it was given because it trusted a length field instead of verifying it. No login was required, no malware needed to be installed — an attacker just sent a malformed heartbeat and read back whatever memory came out.

Why You Should Care

OpenSSL is the encryption engine behind a huge share of "secure" (HTTPS) websites, VPNs, and email servers. Heartbleed mattered because it undermined the very thing TLS exists to guarantee — confidentiality — and it had been quietly exploitable for over two years before anyone noticed. Worse, repeatedly exploiting it left almost no trace in server logs, so nobody could be fully sure what, if anything, had already been stolen.

What You Can Do

Real-world impact

Heartbleed prompted a mass, simultaneous certificate-revocation and password-reset event across much of the web — banks, email providers, and government sites all urged users to change passwords once the bug went public, since nobody could rule out that their keys had already been silently read.

Heartbleed in one sentence

A server trusted a number an attacker controlled instead of verifying it — and that one missing check was enough to leak the encryption layer's own secrets.

Explore More CVEs