Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or impersonate target PLC
-
DeliveryClient issues Cli_ReadSZL/SZLList request
-
ExploitReturn oversized multi-slice SZL responses
-
ExecutionOverflow 65536-byte opData heap buffer
-
ImpactCrash client and corrupt heap
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a Snap7 client (through 1.4.3) to open an S7 connection to an attacker-controlled endpoint and call Cli_ReadSZL() or Cli_ReadSZLList(); the attacker must be positioned as the responding PLC via a compromised PLC, impersonation, or MITM on the S7comm channel, then send multi-slice SZL responses with oversized DLen values. Limiting factors: this is client-side only (PLC/server deployments are not the target), it is not exploitable when the client communicates solely with trusted PLCs, and the need to control or impersonate the PLC endpoint is what raises attack complexity (AC:H/AT:P) rather than allowing opportunistic mass exploitation. |
| Impact | The input scores this CVSS 4.0 8.3 (High), and the vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H is internally consistent with the mechanism: a network-reachable but condition-dependent flaw with high integrity and availability impact (heap corruption plus client crash) and no confidentiality impact. The decisive nuance is directionality - this is a CLIENT-side flaw triggered by a malicious, rogue, or impersonated PLC, not a remotely exploitable server. That is precisely what AC:H and AT:P (attack requirements present) encode: the attacker must occupy the PLC endpoint the Snap7 client connects to. No EPSS score, no CISA KEV entry, and no public exploit were supplied, so exploitation is no public exploit identified at time of analysis. The vuln.today decision label is this_week, not act_now or emergency, which matches a real-but-conditional ICS/OT issue: genuinely worth patching this week, but not a wormable internet-facing bug. Code-execution potential is inferred from the heap-overflow class (CWE-122); only crash and heap corruption are directly described. Missing signals to note explicitly: EPSS and KEV data are absent (not evidence of low risk, simply not provided), and no numbered fixed release is confirmed - the fix exists only as PR #12. |
| Exploit ScenarioDerived | An attacker who controls, spoofs, or man-in-the-middles a Siemens S7 PLC answers a Snap7 client's Cli_ReadSZL() or Cli_ReadSZLList() call with crafted multi-slice SZL responses that keep flagging additional data using oversized attacker-controlled DLen values. The accumulated copies overflow the fixed 65536-byte opData heap buffer in opReadSZL(), crashing the client and corrupting heap memory, with potential for code execution. No public exploit was identified; the trigger and fix are documented in issue #11 and patch PR #12, which add bounds checks before each memcpy. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
A heap-based buffer overflow in TSnap7MicroClient::opReadSZL() affects Snap7 client builds through 1.4.3 when a client connects to a rogue or impersonated PLC that returns multi-slice SZL responses with oversized, attacker-controlled DLen values, overflowing the 65536-byte opData buffer and corrupting heap memory or crashing the process. Only the client side is exposed - a Snap7-based PLC/server is not the target - and exploitation requires the attacker to control or impersonate the responding S7 endpoint, which is why the assessed vector carries AC:H/AT:P despite high integrity and availability impact and no confidentiality impact. No public exploit code has been identified at time of analysis and there is no KEV listing; the issue is fixed upstream via pull request #12, which adds the missing bounds check.
RemediationAI
Vendor-released patch: no tagged release with the fix was independently confirmed at time of analysis; the correction exists in upstream pull request https://github.com/davenardella/snap7/pull/12, which guards both memcpy calls in TSnap7MicroClient::opReadSZL() with if (Offset + DataSZL <= sizeof(opData)) and otherwise returns errCliBufferTooSmall. Teams building Snap7 from source should apply that commit or cherry-pick the bounds check into their copy of src/core/s7_micro_client.cpp and rebuild, then verify via the diff in the PR; consumers of a packaged or vendored Snap7 dependency should confirm with their distributor whether the fix is included before assuming they are covered. Because the overflow is triggered only by a hostile S7 response, the practical interim control is to restrict Snap7 clients to PLC endpoints that are trusted and network-protected so a rogue or impersonated PLC cannot answer on the S7comm channel; the trade-off is reduced reachability for legitimate multi-site or field-network topologies, and that control fails entirely under a successful MITM, so patching remains the durable fix. The vulnerability is client-side only, so hardening the PLC/server role is not a mitigation for this CVE. Given the this_week priority label and High severity scoring, schedule the code fix within the current patch cycle.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-122 heap-based buffer overflow in the S7comm client library Snap7. Cli_ReadSZL() and Cli_ReadSZLList() retrieve the PLC's System Status List, a diagnostic structure that may be returned in multiple slices: the first slice is copied into the fixed 65536-byte opData buffer inside opReadSZL(), and subsequent slices are copied at an incrementing offset as the response flags that more data follows. In versions through 1.4.3 the memcpy calls at src/core/s7_micro_client.cpp (lines 1705-1753) perform no check that Offset + DataSZL stays within sizeof(opData), so a malicious or impersonated PLC can keep advertising additional slices with attacker-chosen DLen values and drive the offset past the buffer end, overwriting adjacent heap memory. The upstream fix in pull request #12 wraps both copies in an if (Offset + DataSZL <= sizeof(opData)) guard and returns errCliBufferTooSmall otherwise. Because the defect lives in the client's response-parsing path, exposure depends entirely on the trustworthiness of the endpoint the client dials; the published CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H) reflects a network-reachable but condition-dependent issue with no confidentiality impact.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker must control or impersonate the PLC the client connects to (AC:H) but needs no client privileges (PR:N); heap corruption and crash yield I:H/A:H with no data disclosure (C:N).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
Snap7 through 1.4.3 contains a heap-based buffer overflow in TSnap7MicroClient::opReadSZL() that allows malicious PLCs to overwrite client memory by sending oversized multi-slice SZL responses. A rogue or impersonated PLC can keep flagging more data with attacker-controlled DLen slices, overflowing the 65536-byte opData buffer via Cli_ReadSZL() and Cli_ReadSZLList(), crashing the client and corrupting heap memory.
Executive ViewAI
A heap-based buffer overflow in Snap7 client builds through version 1.4.3 could allow an attacker controlling a rogue or impersonated PLC to corrupt memory or crash client processes. This affects any system using the vulnerable Snap7 client to communicate with S7 endpoints, potentially disrupting industrial control system monitoring and operations. While exploitation requires the attacker to control the responding endpoint, the high integrity and availability impact warrants management attention, especially for critical infrastructure or manufacturing environments.
No vendor-released patch identified at time of analysis. Interim mitigations include network segmentation to restrict Snap7 client communications to trusted PLCs, using application-level allowlisting or TLS inspection to prevent connections to rogue endpoints, and monitoring for abnormal SZL responses or crashes. Apply upstream fix from pull request #12 as a temporary measure.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
EUVD-2026-128331
GHSA-68f4-569m-2rvc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB