CVE-2026-131849
Snap7 through 1.4.3 Heap-Based Buffer Overflow via TSnap7MicroClient::opReadSZL
High · 8.3
- CVSS
- 8.3
- EPSS
- 0.43% (p39)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-28
- Product
- davenardella snap7
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Sources
References
- https://github.com/davenardella/snap7/issues/11 issue-tracking
- https://github.com/davenardella/snap7/pull/12 issue-tracking
- https://github.com/davenardella/snap7/blob/30f37da3114024a71ba93f7fd855c680b97a406f/src/core/s7_micro_client.cpp#L1705-L1753 technical-description
- https://www.vulncheck.com/advisories/snap7-through-1.4.3-heap-based-buffer-overflow-via-tsnap7microclient-opreadszl third-party-advisory