Skip to main content
2 CVEs HIGH CVSS 8.3

Snap7 Client Buffer Overflow Vulnerabilities

2026-11-18

CVE-2026-131848 HIGH

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.

8.3
CVSS
0.5%
EPSS
CVE-2026-131849 HIGH

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.

8.3
CVSS
0.6%
EPSS

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