Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privileged API credentials
-
DeliveryConnect to snap7-embedded application over network
-
ExploitInvoke opUpload with crafted DataLen
-
ExecutionTrigger CWE-119 boundary violation in s7_micro_client.cpp
-
PersistCorrupt process memory
-
ImpactAchieve limited confidentiality/integrity/availability impact
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
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 that the attacker hold high-privileged (PR:H) access sufficient to invoke the snap7 TSnap7MicroClient::opUpload API - this typically means operator or administrator credentials within the SCADA/HMI application embedding the library, or direct programmatic API access. The upload operation must be reachable over the network (AV:N), meaning the snap7 client must be configured to connect to a reachable Siemens S7 PLC endpoint. No user interaction is required once API access is established. Exploitation is limited by: (1) the high-privilege prerequisite, ruling out unauthenticated remote attackers; (2) the requirement that the target application exposes the opUpload code path; and (3) the impact being constrained to the vulnerable system only (S:U, SC/SI/SA all N in CVSS 4.0). Non-default or absent PLC network connectivity would block the network vector. |
| Impact | The CVSS 4.0 score of 5.1 with vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L reflects a moderate, not critical, real-world risk: high privileges are required, and the impact is limited across all three impact axes. The PR:H metric is the dominant limiting factor - an attacker must already possess operator-level credentials or API access sufficient to invoke the opUpload function, which substantially reduces the realistic attack population. A public POC exists as a GitHub issue (#30), which lowers the barrier to exploitation for those who already have the required access, but no confirmed active exploitation (no CISA KEV listing) has been identified. Even a mid-sized municipal IT team in malbork operating snap7-based SCADA systems should treat this as a prioritized patch-cycle item rather than an emergency, given the privilege requirement. EPSS data is not available in the provided intelligence; the absence of KEV listing and the narrow exploitation window (high-privileged API callers only) suggest real-world exploitation remains limited to targeted scenarios. The project's lack of response to the responsible disclosure is a compounding concern, as no timeline for remediation exists. |
| Exploit ScenarioDerived | An attacker with high-privileged access to a SCADA application embedding snap7 - such as a compromised operator workstation or a rogue internal API caller - invokes the opUpload function with a crafted oversized or negative DataLen value. The library's lack of boundary validation triggers a heap or stack buffer overflow within the snap7 process, potentially corrupting adjacent memory structures. The publicly available proof-of-concept (GitHub issue #30) demonstrates the triggering condition, lowering the effort required for a privileged insider or post-compromise lateral mover to reach the vulnerable code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Memory corruption in davenardella snap7 up to version 1.4.3 allows a network-accessible, high-privileged attacker to corrupt memory by supplying a malformed DataLen argument to the TSnap7MicroClient::opUpload function in src/core/s7_micro_client.cpp. The affected library is used for communicating with Siemens S7 PLCs in industrial control environments, making the confidentiality, integrity, and availability of PLC upload sessions potentially compromised. A public proof-of-concept exists via a GitHub issue report, and the project maintainer has not yet responded or issued a patch.
RemediationAI
No vendor-released patch has been identified at time of analysis; the project maintainer had not responded to the disclosure as of the CVE report. As a compensating control, applications embedding snap7 should validate and clamp the DataLen argument before passing it to opUpload, ensuring it does not exceed the allocated buffer size - this can be implemented at the application wrapper layer without modifying the library. Additionally, restrict network access to PLC management interfaces and enforce strong authentication for any component invoking snap7 upload operations, reducing the pool of principals that could trigger the vulnerability. Monitor the upstream GitHub repository at https://github.com/davenardella/snap7/ for an updated release and apply it promptly when available. Organizations with hard real-time or safety requirements should consider evaluating alternative S7 communication libraries with active maintenance until this issue is addressed.
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 (CPE: cpe:2.3:a:davenardella:snap7:*:*:*:*:*:*:*:*) is an open-source, cross-platform library for communicating with Siemens S7-series PLCs over the S7 ISO-on-TCP protocol. The root cause is CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer): the opUpload method in TSnap7MicroClient does not properly validate the caller-supplied DataLen argument before using it to govern a memory operation, allowing an out-of-bounds read or write within the library's heap or stack buffers. The S7 upload operation is used to retrieve program blocks from a PLC, and its DataLen parameter controls the size of the data buffer involved in this transfer. Because the library is typically embedded in SCADA/HMI applications, the vulnerable code runs in the context of the host application process.
Know when Snap7 gets its next vulnerability
- 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:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network reachable but PR:H required to invoke opUpload; impact limited to partial corruption with no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in davenardella snap7 up to 1.4.3. The affected element is the function TSnap7MicroClient::opUpload of the file src/core/s7_micro_client.cpp. Executing a manipulation of the argument DataLen can lead to memory corruption. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
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.
The Snap7 server component in version 1.4.1, when an attacker sends a crafted packet with COTP protocol the last-data-un
Snap7 through 1.4.3 has a stack-based buffer overflow in the S7 server's WriteVar request handler (TS7Worker::PerformFun
Memory corruption in the snap7 S7 communication library (through version 1.4.3) allows a rogue or impersonated PLC to ov
Out-of-bounds write in the Snap7 S7 communications library through 1.4.3 lets a malicious active partner crash or corrup
Out-of-bounds write in davenardella snap7 up to version 1.4.3 allows network-authenticated attackers to corrupt memory b
EUVD-2026-77053
GHSA-xrq6-q643-mcv3
NVD
CVE.org
EPSS
VulDB
Exploit-DB