Skip to main content

Snap7

6 CVEs product

Monthly

CVE-2026-115723 Oct 23, 11:36 HIGH PATCH This Week

Out-of-bounds write in the Snap7 S7 communications library through 1.4.3 lets a malicious active partner crash or corrupt the process of any application acting as a passive BSend/BRecv partner - typically a SCADA front end, HMI gateway or data collector listening on TCP/102. The library stores the BSend total length declared by the peer (up to 65535) rather than the number of bytes actually reassembled, and BRecv as well as the asynchronous CheckAsBRecvCompletion path hand that length straight to memcpy without any knowledge of the caller's buffer capacity, so even correctly written applications overflow. Vendor patch data indicates a fix is available via PR #41 (no tagged release version is stated in the provided data), an AddressSanitizer PoC was produced by the reporter but withheld rather than published, and no public exploit code or CISA KEV entry was identified at time of analysis; exploitation requires reaching TCP/102 from (or successfully spoofing) the configured peer address, which is the constraint behind the assessed CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N with high integrity and availability impact and no confidentiality impact.

Buffer Overflow Memory Corruption Snap7
NVD GitHub
CVSS 4.0
8.3
EPSS
0.6%
CVE-2026-111280 Oct 15, 21:43 HIGH This Week

Memory corruption in the snap7 S7 communication library (through version 1.4.3) allows a rogue or impersonated PLC to overflow client-side buffers while handling ReadVar responses, crashing SCADA, HMI, gateway, and custom S7 client processes and corrupting their memory. The flaw is unauthenticated from the protocol perspective (PR:N) and needs no user interaction, but per the authoritative assessment it is only reachable when the attacker already occupies a trusted position in the S7 path of the victim client - an attacker-controlled, spoofed, or MITM'd PLC endpoint (the condition encoded by CVSS 4.0 AT:P); clients that communicate only with legitimate PLCs cannot be triggered. No public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis; CVSS 4.0 base 8.3 (High), with the independent assessment scoring CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H.

Buffer Overflow Memory Corruption Snap7
NVD GitHub VulDB
CVSS 4.0
8.3
EPSS
0.4%
CVE-2026-138109 Nov 29, 03:15 MEDIUM POC PATCH This Month

Snap7 through 1.4.3 has a stack-based buffer overflow in the S7 server's WriteVar request handler (TS7Worker::PerformFunctionWrite in src/core/s7_server.cpp), where an attacker-controlled ItemsCount argument is not adequately constrained before use. A remote attacker needs no credentials or user interaction (CVSS 4.0 AV:N/AC:L/AT:N/PR:N/UI:N) and only needs to reach an S7comm/ISO-on-TCP listener (typically TCP port 102) on a deployment that enables the Snap7 server role; the assessed impact is Low for confidentiality, integrity and availability, so service disruption is a more realistic outcome than full code execution. A public PoC reference exists (GitHub issue #42) but is not verified as working exploit code, no KEV listing was supplied, and the vendor indicates an upstream fix in PR #44, with the priority decision set to this_month rather than an emergency patch-now call.

Buffer Overflow Stack Overflow Snap7
NVD VulDB GitHub
CVSS 4.0
5.5
EPSS
0.5%
CVE-2026-90572 Sep 13, 17:15 LOW POC Monitor

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.

Buffer Overflow Snap7
NVD VulDB GitHub
CVSS 4.0
2.0
EPSS
0.4%
CVE-2026-16225 Jul 19, 08:00 LOW POC Monitor

Out-of-bounds write in davenardella snap7 up to version 1.4.3 allows network-authenticated attackers to corrupt memory by supplying a crafted PDULength value during S7 protocol negotiation. The vulnerable function TSnap7Peer::NegotiatePDULength in src/core/s7_peer.cpp fails to enforce bounds on the PDULength argument, enabling writes beyond the allocated buffer boundary. A public proof-of-concept exploit is available on GitHub (issue #17), and the CVSS 4.0 E:P modifier confirms this - elevating practical risk above the medium base score, particularly in OT/ICS deployments where snap7 is commonly used to interface with Siemens S7 PLCs.

Buffer Overflow Memory Corruption Snap7
NVD VulDB GitHub
CVSS 4.0
2.1
EPSS
0.2%
CVE-2020-22552 Oct 28, 14:15 HIGH POC This Week

The Snap7 server component in version 1.4.1, when an attacker sends a crafted packet with COTP protocol the last-data-unit flag set to No and S7 writes a var function, the Snap7 server will be. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Snap7
NVD VulDB
CVSS 3.1
7.5
EPSS
2.0%
EPSS 1% CVSS 8.3
HIGH PATCH This Week

Out-of-bounds write in the Snap7 S7 communications library through 1.4.3 lets a malicious active partner crash or corrupt the process of any application acting as a passive BSend/BRecv partner - typically a SCADA front end, HMI gateway or data collector listening on TCP/102. The library stores the BSend total length declared by the peer (up to 65535) rather than the number of bytes actually reassembled, and BRecv as well as the asynchronous CheckAsBRecvCompletion path hand that length straight to memcpy without any knowledge of the caller's buffer capacity, so even correctly written applications overflow. Vendor patch data indicates a fix is available via PR #41 (no tagged release version is stated in the provided data), an AddressSanitizer PoC was produced by the reporter but withheld rather than published, and no public exploit code or CISA KEV entry was identified at time of analysis; exploitation requires reaching TCP/102 from (or successfully spoofing) the configured peer address, which is the constraint behind the assessed CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N with high integrity and availability impact and no confidentiality impact.

Buffer Overflow Memory Corruption Snap7
NVD GitHub
EPSS 0% CVSS 8.3
HIGH This Week

Memory corruption in the snap7 S7 communication library (through version 1.4.3) allows a rogue or impersonated PLC to overflow client-side buffers while handling ReadVar responses, crashing SCADA, HMI, gateway, and custom S7 client processes and corrupting their memory. The flaw is unauthenticated from the protocol perspective (PR:N) and needs no user interaction, but per the authoritative assessment it is only reachable when the attacker already occupies a trusted position in the S7 path of the victim client - an attacker-controlled, spoofed, or MITM'd PLC endpoint (the condition encoded by CVSS 4.0 AT:P); clients that communicate only with legitimate PLCs cannot be triggered. No public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis; CVSS 4.0 base 8.3 (High), with the independent assessment scoring CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H.

Buffer Overflow Memory Corruption Snap7
NVD GitHub VulDB
EPSS 0% CVSS 5.5
MEDIUM POC PATCH This Month

Snap7 through 1.4.3 has a stack-based buffer overflow in the S7 server's WriteVar request handler (TS7Worker::PerformFunctionWrite in src/core/s7_server.cpp), where an attacker-controlled ItemsCount argument is not adequately constrained before use. A remote attacker needs no credentials or user interaction (CVSS 4.0 AV:N/AC:L/AT:N/PR:N/UI:N) and only needs to reach an S7comm/ISO-on-TCP listener (typically TCP port 102) on a deployment that enables the Snap7 server role; the assessed impact is Low for confidentiality, integrity and availability, so service disruption is a more realistic outcome than full code execution. A public PoC reference exists (GitHub issue #42) but is not verified as working exploit code, no KEV listing was supplied, and the vendor indicates an upstream fix in PR #44, with the priority decision set to this_month rather than an emergency patch-now call.

Buffer Overflow Stack Overflow Snap7
NVD VulDB GitHub
EPSS 0% CVSS 2.0
LOW POC Monitor

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.

Buffer Overflow Snap7
NVD VulDB GitHub
EPSS 0% CVSS 2.1
LOW POC Monitor

Out-of-bounds write in davenardella snap7 up to version 1.4.3 allows network-authenticated attackers to corrupt memory by supplying a crafted PDULength value during S7 protocol negotiation. The vulnerable function TSnap7Peer::NegotiatePDULength in src/core/s7_peer.cpp fails to enforce bounds on the PDULength argument, enabling writes beyond the allocated buffer boundary. A public proof-of-concept exploit is available on GitHub (issue #17), and the CVSS 4.0 E:P modifier confirms this - elevating practical risk above the medium base score, particularly in OT/ICS deployments where snap7 is commonly used to interface with Siemens S7 PLCs.

Buffer Overflow Memory Corruption Snap7
NVD VulDB GitHub
EPSS 2% CVSS 7.5
HIGH POC This Week

The Snap7 server component in version 1.4.1, when an attacker sends a crafted packet with COTP protocol the last-data-unit flag set to No and S7 writes a var function, the Snap7 server will be. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Snap7
NVD VulDB

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