OpenSSL heartbeat over-read (Heartbleed, CVE-2014-0160)
A TLS heartbeat handler copies a peer-supplied payload length without checking it against the bytes actually received, reading up to roughly 64KB of process memory per request and echoing it back. Nicknamed Heartbleed because the heartbeat extension was made to bleed memory, it leaked session data, credentials, and even private keys, and is widely credited with popularizing branded vulnerabilities (its own name, logo, and website).
- Product
- OpenSSL (TLS/DTLS heartbeat extension)
- Vendor
- The OpenSSL Project
- Affected
- OpenSSL 1.0.1 through 1.0.1f, and 1.0.2-beta1 (the heartbeat code was introduced in 1.0.1, so the 0.9.8 and 1.0.0 branches are not affected)
- Fixed in
- 1.0.1g (and 1.0.2-beta2), released 2014-04-07
- Weakness
- CWE-125
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 7 Apr 2014
Classified as
References
Related CVEs
- CVE-2025-5777high 7.52025
CitrixBleed 2: bare login field leaks stack memory
A malformed login form marks the username as present without supplying a value, then reflects an uninitialized local buffer into the XML authentication response.
- CVE-2024-49113high 7.52024
LDAPNightmare: malformed CLDAP referral crashes LSASS
A crafted CLDAP response sets a nonzero referral index while the connection has no referral table, and vulnerable wldap32 code dereferences the unchecked entry inside the critical LSASS process.
- CVE-2023-4966high 7.52023
CitrixBleed: NetScaler snprintf-length memory over-read
A response is sent using snprintf's return value as its length, but snprintf returns the length it would have written, so an over-long client hostname makes the appliance send adjacent memory (including session tokens) back to the attacker.
- CVE-2022-3602high 7.52022
SpookySSL: OpenSSL X.509 punycode four-byte overflow
The punycode decoder allowed insertion when its output buffer was already full, so a crafted X.509 SmtpUTF8Mailbox domain processed during name-constraint checks could shift one attacker-controlled unsigned integer past the stack buffer.