Skip to main content

Snap7 CVE-2026-131848

| EUVDEUVD-2026-128332 HIGH
Out-of-bounds Write (CWE-787)
2026-11-18 disclosure@vulncheck.com GHSA-xr6p-cjp3-pvwg
8.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Impersonate or control target PLC
  2. Delivery
    Send crafted ReadVar response
  3. Exploit
    Overflow unchecked DataLength in opReadMultiVars
  4. Execution
    Out-of-bounds write corrupts client memory
  5. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

snap7 0 ≤1.4.3

Affected Packages

euvd snap7 no fix

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

Vendor (vulncheck) PRIMARY 8.3 HIGH
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
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Low
niche open-source S7-PLC communication library used in ICS/OT
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Related Vulnerabilities in Snap7 Client Buffer Overflow Vulnerabilities

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy