patchminder
Proof of concept · GitHub CVE-2023-25136

Remote code executionin Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP.

Published 3 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
Not scored
No source has scored it yet
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 89.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to V3.1.5 or later
In plain words

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be leveraged, by an unauthenticated remote attacker in the default configuration, to jump to any location in the sshd address space. One third-party report states "remote code execution is theoretically possible."

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 SIPLUS S7-1500 CPU 1518-4 PN/DP MFP to V3.1.5 or later.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
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
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. 3 Feb 2023
    CVE ID reserved by mitre.
  2. 3 Feb 2023
    Published in the CVE List.
  3. 7 Feb 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 poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
11 repositories
GitHubno warning signs foundChristbowel/CVE-2023-25136109 stars · created 22 Feb 2023OpenSSH 9.1 vulnerability mass scan and exploit
GitHubno warning signs foundadhikara13/CVE-2023-2513647 stars · created 18 Apr 2023OpenSSH Pre-Auth Double Free CVE-2023-25136 POC
GitHubno warning signs foundjfrog/jfrog-CVE-2023-25136-OpenSSH_Double-Free41 stars · created 7 Feb 2023
GitHubno warning signs foundnhakobyan685/CVE-2023-251368 stars · created 28 Apr 2023OpenSSH 9.1 vulnerability mass scan and exploit
GitHubno warning signs foundH4K6/CVE-2023-251365 stars · created 30 Jun 2023OpenSSH 9.1漏洞大规模扫描和利用
GitHubno warning signs foundticofookfook/CVE-2023-251363 stars · created 14 Feb 2023
GitHubno warning signs foundaxylisdead/CVE-2023-25136_POC3 stars · created 3 Jun 2023CVE-2023-25136 POC written by axylisdead
GitHubno warning signs foundmalvika-thakur/CVE-2023-251363 stars · created 21 Sep 2023OpenSSH Pre-Auth Double Free CVE-2023-25136 · Writeup and Proof-of-Concept
GitHubno warning signs foundBusiness1sg00d/CVE-2023-251361 stars · created 4 Sep 2023Looking into the memory when sshd 9.1p1 aborts due to a double free bug.
GitHubno warning signs foundmrmtwoj/CVE-2023-251361 stars · created 16 Jan 2025This vulnerability is of the "double-free" type, which occurs during the processing of key exchange (KEX) algorithms in OpenSSH. A "double-free" vulnerability happens when memory that has already been

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 SIMATIC S7-1500 CPU 1518-4 PN/DP MFP vulnerabilities

Same weakness: Double free

All CWE-415 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-25136: Remote code execution in Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP. https://patchminder.com/cve/cve-2023-25136/ (accessed 5 December 2026).