Snap7 client memory corruption in multi-slice SZL responses
davenardella snap7
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| davenardella snap7 |
| No fix yet |
Original description
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 Cli_ReadSZL() and Cli_ReadSZLList(), crashing the client and corrupting heap memory.
From the CVE record · VulnCheck