Skip to main content
Public proof of conceptFix available

CVE-2022-4304

A public proof of concept exists; no exploitation attested.

  • Published2023-02-08
  • Fixed in3.0.8 · 1.1.1t · 1.0.2zg
  • WeaknessCWE-203

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2023-02-0820:15CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub
  3. 2026-10-2319:23EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD · OSV
OpenSSL
BranchAffectedFixed in
3.0≥ 3.0.0, < 3.0.83.0.8
1.1≥ 1.1.1, < 1.1.1t1.1.1t
1.0≥ 1.0.2, < 1.0.2zg1.0.2zg
Stormshield stormshield network security
BranchAffectedFixed in
4.x≥ 4.4.0, < 4.6.34.6.3
4.x≥ 4.0.0, < 4.3.164.3.16
3.x≥ 3.8.0, < 3.11.223.11.22
3.7≥ 2.8.0, < 3.7.343.7.34
2.7≥ 2.7.0, < 2.7.112.7.11
openssl-src
BranchAffectedFixed in
300.0≥ 300.0.0, < 300.0.12300.0.12
111.25≥ 0.0.0-0, < 111.25.0111.25.0
111.25< 111.25.0111.25.0

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As openssl, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • OpenSSLother versions: not affected
    Affected
    • ≥ 3.0.0, < 3.0.8fixed in 3.0.8semver
    • ≥ 1.1.1, < 1.1.1tfixed in 1.1.1tcustom
    • ≥ 1.0.2, < 1.0.2zgfixed in 1.0.2zgcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-02-04

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cloud-hypervisorAzure Linux:2all versions · fixed in 30.0-2
  • compat-openssl098SUSE:Linux Enterprise Server for SAP Applications 12 SP5all versions · fixed in 0.9.8j-106.42.1
  • compat-openssl098SUSE:Linux Enterprise Server for SAP Applications 12 SP5all versions · fixed in 0.9.8j-106.58.1
  • compat-openssl098SUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 0.9.8j-106.42.1
  • compat-openssl098SUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 0.9.8j-106.58.1
  • compat-openssl098SUSE:Linux Enterprise Module for Legacy 12all versions · fixed in 0.9.8j-106.42.1
  • compat-openssl098SUSE:Linux Enterprise Module for Legacy 12all versions · fixed in 0.9.8j-106.58.1
  • eco-dotnet-libssl-1.0Chainguardall versions · no fixed version listedand 2 other packages

208 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-4304 Red Hat Product Security210 products fixed · 17 known affected

    openssl: timing attack in RSA Decryption implementation

    AAVMF as a component of Red Hat Enterprise Linux 7 · OVMF as a component of Red Hat Enterprise Linux 7 · openssl as a component of Red Hat Enterprise Linux 7 · +14 more

  • ICSA-25-065-01 CISA3 products fixed · 3 known affected

    Hitachi Energy PCU400

    PCU400 versions 6.5 K and below · PCU400 versions 9.4.1 and below · PCULogger versions 1.1.0 and below

  • ICSA-24-205-02 CISA8 known affected

    Hitachi Energy AFS/AFR Series Products

    Hitachi Energy AFS650: <=9.1.08 · Hitachi Energy AFS660-C: <=7.1.05 · Hitachi Energy AFS665-B: <=7.1.05 · +5 more

  • ICSA-24-165-11 CISA26 known affected

    Siemens SCALANCE XM-400, XR-500

    SCALANCE XM408-4C (6GK5408-4GP00-2AM2) · SCALANCE XM408-4C (L3 int.) (6GK5408-4GQ00-2AM2) · SCALANCE XM408-8C (6GK5408-8GS00-2AM2) · +23 more

  • ICSA-24-004-02 CISA3 known affected

    Mitsubishi Electric Factory Automation Products

    Mitsubishi Electric MX OPC Server UA (Software packaged with MC Works64): >=3.05F_Packaged_with_MC_Works64_4.03D · Mitsubishi Electric OPC UA Server Unit: vers:all/* · Mitsubishi Electric FX5-OPC: <=1.006_

  • ICSA-23-320-08 CISA71 known affected

    Siemens SCALANCE Family Products

    SCALANCE XB205-3 (SC, PN) (6GK5205-3BB00-2AB2) · SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BB00-2TB2) · SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BD00-2TB2) · +68 more

19 more advisories

Full record on NVD

Fix

  1. Update OpenSSL to 3.0.8 · 1.1.1t · 1.0.2zg
  2. Vendor fix CISA ICSA-25-065-01 · 1 productIf IEC62351-3 secure for IEC104/DNP3 is used, then update to version 6.6.0 or latest
  3. Vendor fix CISA ICSA-25-065-01 · 1 productIf IEC62351-3 secure for IEC104/DNP3 is used, then update to version 9.4.2 or latest
  4. Vendor fix CISA ICSA-24-205-02 · 1 productAFS650: Update to AFS 650 firmware version 9.1.10
  5. Vendor fix CISA ICSA-24-205-02 · 3 productsAFS660-C, AFS665-B, AFS670-V2: Update to AFS 66x firmware version 7.1.08
  6. Vendor fix CISA ICSA-24-205-02 · 4 productsAFS670/675/677, AFR677: Update to AFS/AFR 67x firmware version 9.1.10
  7. Vendor fix CISA ICSA-24-165-11 · 26 productsUpdate to V6.6.1 or later version

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2023-02-08
Last modified
2026-10-14
NVD status
Modified
GitHub advisory
GHSA-p52g-cm5j-mjv4

Frequently asked questions

What is CVE-2022-4304?

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.

Is CVE-2022-4304 actively exploited?

Active exploitation of CVE-2022-4304 has not been confirmed. Its EPSS score was 23.5% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-4304?

CVE-2022-4304 has a CVSS v3 base score of 5.9 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running OpenSSL? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record