CVE-2026-131849: Snap7 through 1.4.3 Heap-Based Buffer Overflow via TSnap7MicroClient::opReadSZL
Snap7 through 1.4.3 contains a heap-based buffer overflow in TSnap7MicroClient::opReadSZL() that allows malicious PLCs to overwrite client memory by sending oversized multi-slice SZL responses. A rogue or impersonated PLC can keep flagging more data with attacker-controlled DLen slices, overflowing the 65536-byte opData buffer via CliReadSZL() and CliReadSZLList(), crashing the client and corrupting heap memory.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Snap7 clients through version 1.4.3 are exposed when they use Cli_ReadSZL() or Cli_ReadSZLList() to communicate with a PLC that can provide malicious SZL responses. The issue affects the client-side memory handling rather than requiring an attack against the PLC client itself.
What does an attacker need to exploit this?
An attacker needs to operate a rogue PLC or impersonate a PLC that the Snap7 client communicates with. The malicious PLC must send oversized multi-slice SZL responses with attacker-controlled DLen slices and continue indicating that more data is available.
What is the likely impact of successful exploitation?
Successful exploitation can overflow the 65536-byte opData buffer, causing the client to crash and corrupting heap memory. The reported severity vector indicates integrity and availability impact, with no confidentiality impact listed.