patchminder
Proof of concept · GitHub CVE-2022-1292

Code executionin OpenSSL.

Published 3 May 2022 · Updated 4 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.8
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
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 83.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in V1.1, V3.1.5
In plain words

The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2). Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n). Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd).

What to do now
  • Upgrade SIMATIC S7-1500 CPU 1518-4 PN/DP MFP to V3.1.5 or later.
  • Upgrade SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP to V3.1.5 or later.
  • Upgrade SIMATIC S7-1500 TM MFP · GNU/Linux subsystem to V1.1 or later.
  • Upgrade SIPLUS S7-1500 CPU 1518-4 PN/DP MFP to V3.1.5 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
OpenSSL
Not confirmed
Not confirmed
CVE record
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
V3.1.0 to before V3.1.5
V3.1.5
CISA
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
V3.1.0 to before V3.1.5
V3.1.5
CISA
SIMATIC S7-1500 TM MFP · GNU/Linux subsystem
before V1.1
V1.1
CISA
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
V3.1.0 to before V3.1.5
V3.1.5
CISA

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. 11 Apr 2022
    CVE ID reserved by openssl.
  2. 3 May 2022
    Published in the CVE List.
  3. 24 May 2022
    First public proof of concept on GitHub.
  4. 4 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

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

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
5 repositories
GitHubno warning signs foundalcaparra/CVE-2022-129228 stars · created 30 May 2022CVE-2022-1292 OpenSSL c_rehash Vulnerability · POC
GitHubno warning signs foundund3sc0n0c1d0/CVE-2022-12927 stars · created 13 Sep 2022Automation to validate the impact of the vulnerability CVE-2022-1292 on a specific system.
GitHubno warning signs foundgreek0x0/CVE-2022-12926 stars · created 1 Sep 2022OpenSSL
GitHubno warning signs foundrama291041610/CVE-2022-12925 stars · created 30 May 2022CVE-2022-1292 OpenSSL c_rehash Vulnerability
GitHubno warning signs foundli8u99/CVE-2022-12924 stars · created 24 May 2022CVE-2022-1292

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: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-1292: Code execution in OpenSSL. https://patchminder.com/cve/cve-2022-1292/ (accessed 5 December 2026).