Spectre v1: bounds-check bypass via speculative execution (CVE-2017-5753)
A bounds-checked array access runs speculatively before the check resolves, so an attacker-chosen out-of-bounds index reads adjacent memory and imprints one byte of it into the CPU cache, recoverable by timing.
- Product
- Microprocessors with speculative execution and branch prediction (Intel, AMD, Arm, IBM POWER, and others)
- Vendor
- Intel / AMD / Arm (and other CPU vendors)
- Affected
- Virtually all CPUs with speculative execution and branch prediction shipped before 2018
- Fixed in
- No hardware fix; mitigated in software (speculation barrier lfence after the bound, index masking via array_index_nospec, compiler mitigations such as MSVC /Qspectre)
- Weakness
- CWE-203
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- Published
- 4 Jan 2018
Classified as
References
Related CVEs
- CVE-2023-20569medium 4.72023
Inception: transient calls poison future return prediction
Phantom speculation can make a non-branch instruction appear as a recursive call, allowing transient execution itself to overflow the return predictor with an attacker-controlled target that a later victim return follows.
- 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-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-2019-13627medium 6.32019
Minerva: libgcrypt ECDSA timing leaks nonce bit lengths
Libgcrypt scalar multiplication ran for a nonce-dependent number of iterations, allowing signing duration to reveal ECDSA nonce bit lengths that lattice analysis can combine into recovery of the long-term private key.