patchminder
Proof of concept · GitHub CVE-2022-4304

Vulnerabilityin OpenSSL.

Published 8 Feb 2023 · Updated 14 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 5.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 23.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade OpenSSL to 1.0.2zg, 1.1.1t, 3.0.8 or later, whichever matches your release line.
  • Upgrade openssl-src (crates.io) to 111.25.0, 300.0.12 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
OpenSSL
3.0.0 to before 3.0.8
3.0.8
CVE record
OpenSSL
1.1.1 to before 1.1.1t
1.1.1t
CVE record
OpenSSL
1.0.2 to before 1.0.2zg
1.0.2zg
CVE record
openssl-src (crates.io)
before 111.25.0
111.25.0
GitHub advisory
openssl-src (crates.io)
300.0.0 to before 300.0.12
300.0.12
GitHub advisory
openssl-src (crates.io)
0.0.0-0 to before 111.25.0
111.25.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Dec 2022
    CVE ID reserved by openssl.
  2. 8 Feb 2023
    Published in the CVE List.
  3. 24 Apr 2023
    First public proof of concept on GitHub.
  4. 14 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundTrinadh465/Openssl-1.1.1g_CVE-2022-43040 stars · created 24 Apr 2023

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other OpenSSL vulnerabilities

Same weakness: Observable discrepancy

All CWE-203 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-4304: Vulnerability in OpenSSL. https://patchminder.com/cve/cve-2022-4304/ (accessed 5 December 2026).