patchminder
Proof of concept · GitHub CVE-2018-25032

Memory corruptionin Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP.

Published 25 Mar 2022 · Updated 14 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.5
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. 51.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.13.4, V3.1.5
In plain words

zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

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.
  • Upgrade nokogiri (RubyGems) to 1.13.4 or later.
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
nokogiri (RubyGems)
before 1.13.4
1.13.4
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. 25 Mar 2022
    CVE ID reserved by mitre.
  2. 25 Mar 2022
    Published in the CVE List.
  3. 29 Sep 2022
    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
3 repositories
GitHubno warning signs foundTrinadh465/external_zlib_4.4_CVE-2018-250321 stars · created 29 Sep 2022
GitHubno warning signs foundSatheesh575555/external_zlib-1.2.7_CVE-2018-250320 stars · created 14 Dec 2022
GitHubno warning signs foundTrinadh465/external_zlib_AOSP10_r33_CVE-2018-250320 stars · created 16 Mar 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 SIMATIC S7-1500 CPU 1518-4 PN/DP MFP vulnerabilities

Same weakness: Out-of-bounds write

All CWE-787 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-25032: Memory corruption in Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP. https://patchminder.com/cve/cve-2018-25032/ (accessed 5 December 2026).