CVE-2018-0737: OpenSSL RSA Key Generation Cache-Timing Private-Key Disclosure
- Vendors
- OpenSSL Software FoundationCanonical
CVE-2018-0737 is a cache-timing side-channel vulnerability in OpenSSL RSA key generation affecting versions 1.1.0 through 1.1.0h and 1.0.2b through 1.0.2o. Three non-constant-time code paths expose information about candidate RSA primes: BN_gcd checks whether the public exponent and p−1 are relatively prime, while BN_mod_inverse and BN_mod_exp_mont operate during primality testing without BN_FLG_CONSTTIME. An attacker capable of observing cache timing during key generation can recover private-key material and potentially reconstruct the generated RSA private key.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality of an RSA private key generated while the attacker observes the vulnerable operations. Depending on how that key is used, its compromise can enable impersonation, forged signatures, or decryption of data protected by the corresponding key. Exploitation of the BN_gcd path demonstrated approximately 30% key-recovery success across more than 10,000 trials.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is specified. As an interim risk-reduction measure, restrict untrusted local execution and isolate RSA key generation from workloads capable of observing shared-cache activity. These measures do not replace patching.
Remediation
Patch, then assume compromise.
Install an OpenSSL release containing the fixes, introduced in OpenSSL 1.1.0i and 1.0.2p, or apply vendor-provided packages with equivalent backported fixes. Prefer a currently supported release incorporating these corrections. Ensure all three affected code paths are patched. Update applications that bundle OpenSSL and restart linked services, or reboot, so they load the corrected library. For BigFix OS Deployment Bare Metal Server 7.1.1.20, apply build 310.27 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-0737 exploited in the wild?
- As of Nov 29, 2026, Mallory has no reports of CVE-2018-0737 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-0737?
- As of Nov 29, 2026, Mallory has found no public exploit for CVE-2018-0737.
- Is there a patch for CVE-2018-0737?
- Install an OpenSSL release containing the fixes, introduced in OpenSSL 1.1.0i and 1.0.2p, or apply vendor-provided packages with equivalent backported fixes. Prefer a currently supported release incorporating these corrections.
- What products are affected by CVE-2018-0737?
- OpenSSL Software Foundation Openssl and Canonical Ubuntu Linux.
- How severe is CVE-2018-0737?
- CVE-2018-0737 has a CVSS v3 score of 5.9 (Medium) and an EPSS score of 11.6% (96th percentile) as of Nov 29, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.