CVE-2022-4304

published 8 Feb 2023 · updated 14 Oct 2026

Timing Oracle in RSA Decryption

6.4MediumCVSS 5.9EPSS 24%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 24%. Fixed in OpenSSL 1.0.2zg, OpenSSL 1.1.1t and OpenSSL 3.0.8.

A timing based side channel exists in the OpenSSL RSA Decryption implementation which could be sufficient to recover a plaintext across a network in a Bleichenbacher style attack. To achieve a successful decryption an attacker would have to be able to send a very large number of trial messages for decryption. The vulnerability affects all RSA padding modes: PKCS#1 v1.5, RSA-OEAP and RSASVE. For example, in a TLS connection, RSA is commonly used by a client to send an encrypted pre-master secret to the server. An attacker that had observed a genuine connection between a client and a server could use this flaw to send trial messages to the server and record the time taken to process them. After a sufficiently large number of messages the attacker could recover the pre-master secret used for the original connection and thus be able to decrypt the application data sent over that connection.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenSSLOpenSSL>=1.0.2 <1.0.2zg, >=1.1.1 <1.1.1t, >=3.0.0 <3.0.81.0.2zg, 1.1.1t, 3.0.8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in OpenSSL, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-4304 severity on Zeptric[![CVE-2022-4304](https://zeptric.io/badge/cve/CVE-2022-4304.svg)](https://zeptric.io/cve/CVE-2022-4304)