Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessImpersonate or control target PLC
-
DeliverySend crafted ReadVar response
-
ExploitOverflow unchecked DataLength in opReadMultiVars
-
ExecutionOut-of-bounds write corrupts client memory
-
ImpactCrash client (potential code execution)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to be running a Snap7 client that calls Cli_ReadMultiVars()/opReadMultiVars() and to connect to an attacker-controlled or impersonated PLC; the attacker must either operate a rogue PLC that the client reaches or hold a man-in-the-middle position on the S7comm (TCP/102) traffic to inject a crafted ReadVar response whose DataLength exceeds the client's buffer. Limiting factors (reflected in AC:H/AT:P): it is not exploitable against a client that communicates only with trusted, authenticated PLCs on a segmented network, and it does not affect Snap7 server/PLC-side deployments - only the client path that trusts PLC-supplied DataLength fields. No client-side authentication or user interaction is required once the hostile connection is established (PR:N/UI:N). |
| Impact | Signals point to a genuinely high-severity but conditionally-exploitable flaw. The supplied CVSS 4.0 vector (8.3) shows AV:N with VI:H and VA:H but VC:N - impact is memory corruption and client crash (integrity/availability), not data disclosure. Crucially, AC:H plus AT:P indicate the attack is not trivially reachable: this is a CLIENT-side bug, so the attacker must control or impersonate the PLC that a Snap7 client connects to, inverting the usual ICS threat model where the PLC is the trusted peer. PR:N/UI:N mean no client-side credentials or interaction are needed once the client talks to a hostile endpoint. No KEV status and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation; the vuln.today Decision label is 'this_week' (prioritize, not emergency). Net: a real priority to patch for anyone running Snap7 clients on OT networks that could contain a rogue or spoofable PLC, but the real-world risk is gated by the attacker needing a man-in-the-middle position or a malicious PLC rather than being a mass-exploitable internet-facing issue. |
| Exploit ScenarioDerived | An attacker who can place a rogue device on the OT network or man-in-the-middle the S7comm/TCP-102 channel impersonates a PLC and answers a Snap7 client's Cli_ReadMultiVars() request with a crafted ReadVar response carrying an oversized DataLength. The client's opReadMultiVars() then writes up to 65535 bytes per item past its buffer, corrupting memory and crashing the process (with potential for further code execution). A GitHub issue reference exists but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
An out-of-bounds write in the Snap7 client library through 1.4.3 lets a malicious or impersonated PLC corrupt memory in software that calls Cli_ReadMultiVars(). Because TSnap7MicroClient::opReadMultiVars() trusts the DataLength fields in ReadVar responses without validating them against the destination buffer, a crafted reply can write up to 65535 bytes per item, crashing or corrupting the client process. Exploitation requires the victim to connect to an attacker-operated PLC or to a man-in-the-middle position on the S7comm TCP/102 session, and it affects only the client path, not Snap7 server/PLC-side deployments; no KEV listing or working public exploit was identified at time of analysis, and the assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H) reflects the conditional, high-complexity nature of the attack.
RemediationAI
No vendor-released patch or fixed version was identified at time of analysis; the tracking issue is https://github.com/davenardella/snap7/issues/32 and the advisory is https://www.vulncheck.com/advisories/snap7-through-1.4.3-out-of-bounds-write-via-tsnap7microclient-opreadmultivars, so confirm remediation status there before deploying. Until a fix is available, the actionable controls follow the assessment's own limiting factors: restrict outbound S7comm (TCP/102) from Snap7 clients to an explicit allowlist of known, trusted PLC addresses so a rogue PLC cannot be reached - the trade-off is that legitimate PLC additions require firewall changes; keep client hosts on segmented networks where PLC traffic cannot be intercepted, which defeats the man-in-the-middle variant at the cost of additional network architecture; and avoid using Cli_ReadMultiVars() against any PLC endpoint that is not fully trusted, since it is the specific entry point that trusts PLC-supplied DataLength fields. Note that this flaw does not affect Snap7 server/PLC-side deployments, so server-side components need no change for this CVE.
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
Snap7 is a C/C++ communications library implementing the Siemens S7 protocol (S7comm, typically over TCP port 102) for talking to S7-300/400/1200/1500 PLCs. The affected code is in src/core/s7_micro_client.cpp (lines ~400-427), inside TSnap7MicroClient::opReadMultiVars(), the worker routine behind Cli_ReadMultiVars(). That routine parses ReadVar response items returned by the PLC and copies item payloads into client-side buffers using the DataLength value supplied in the response, with no bounds check against the actual allocated buffer size. The flaw is CWE-787 (out-of-bounds write): a response item declaring a DataLength up to 65535 bytes causes writes past the end of the client buffer, producing heap/stack corruption and process crash, with integrity and availability impact to the client. The protocol direction matters - trust flows from the PLC to the client, so the vulnerable surface is any application that uses Snap7 as a client to reach a device or endpoint an adversary can impersonate.
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 (MITM/rogue server), so AC:H; no client privileges (PR:N); memory corruption gives I:H and the crash gives A:H with no confidentiality impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
Snap7 through 1.4.3 contains an out-of-bounds write vulnerability in TSnap7MicroClient::opReadMultiVars() that allows malicious PLCs to overflow client buffers via unchecked DataLength fields. Attackers controlling or impersonating a PLC can return crafted ReadVar responses to Cli_ReadMultiVars() callers, writing up to 65535 bytes per item to corrupt memory and crash clients.
Executive ViewAI
A high-severity memory corruption vulnerability in the widely used Snap7 industrial client library (through version 1.4.3) can cause operational disruption when software connects to a malicious or impersonated PLC. Organizations using Snap7-enabled applications for industrial control or monitoring face potential process crashes and data integrity issues that could impact production continuity and safety-critical operations. Leadership should prioritize remediation given the industrial context and potential for unplanned downtime.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting client connections to trusted PLCs via network allowlisting, deploying deep packet inspection for S7comm to validate response lengths, isolating vulnerable client applications in sandboxed environments, and monitoring for anomalous PLC behavior or crashes.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
EUVD-2026-128332
GHSA-xr6p-cjp3-pvwg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB