OpenSSL vulnerabilities
11 real-world CVEs in OpenSSL. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2022-4304medium 5.92023
Marvin: OpenSSL RSA big-number timing reveals plaintext
OpenSSL private RSA processing normalized big numbers in time that depended on high zero words in the decrypted result, creating a network-observable oracle across PKCS#1 v1.5, OAEP, and RSASVE that adaptive ciphertexts could use to recover plaintext.
- 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.
- CVE-2020-1968low 3.72020
Raccoon: reused TLS DH secrets turn timing into plaintext recovery
OpenSSL 1.0.2 could reuse a finite-field DH private value while TLS processing exposed whether the resulting shared secret began with zero bytes, allowing adaptive timing probes to target one long-lived exponent and recover connection secrets.
- CVE-2016-2183high 7.52016
Sweet32: 64-bit block collisions reveal long-session plaintext
A long-lived session using 3DES or another 64-bit block cipher reaches the birthday bound after about 2^32 blocks, making ciphertext collisions useful for relating repeated known text to nearby secrets.
- CVE-2016-0800medium 5.92016
DROWN: SSLv2 decrypts modern TLS through shared RSA keys
An SSLv2 service using the same RSA private key as a modern TLS endpoint exposes response differences that can be queried as a Bleichenbacher oracle against captured TLS RSA ciphertexts.
- CVE-2015-0204medium 4.32015
FREAK: OpenSSL accepts an export RSA key in a stronger suite
An OpenSSL client accepted a signed temporary export-grade RSA key even when its view of the negotiated cipher suite did not permit one, allowing an active attacker to substitute a factorable 512-bit key.
- CVE-2014-3566medium 4.32014
POODLE: SSL 3.0 CBC padding oracle
When a block-cipher record layer strips CBC padding using only the final byte and never authenticates the padding content, accept-versus-reject leaks one plaintext byte per aligned request.
- CVE-2014-0224high 7.42014
CCS Injection: an early TLS state change fixes weak keys
OpenSSL accepted ChangeCipherSpec after cipher selection but before the master secret existed, so injected CCS messages could install keys derived from an empty master secret and let a man-in-the-middle decrypt or alter traffic.
- CVE-2014-0160high 7.52014
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).
- CVE-2013-0169low 2.62013
Lucky Thirteen: TLS CBC MAC timing reveals plaintext
CBC record processing performed a padding-dependent amount of MAC work, so crafted records with unified error messages still produced timing distributions that revealed padding validity and ultimately plaintext.
- CVE-2008-0166high 7.82008
Debian OpenSSL predictable PRNG
A Debian patch commented out the one line that mixed fresh entropy into the OpenSSL PRNG pool, so generated keys depended only on the process ID: about 32,767 possible keys per type and size.