Snap7 through 1.4.3 Heap-Based Buffer Overflow via TSnap7MicroClient::opReadSZL
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 17, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 17, 2026
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.
| Product | Versions |
|---|---|
| snap7 davenardella | 1.4.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.3 High | VulnCheck | |
| 3.1 | 7.4 High | VulnCheck |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
References
- https://github.com/davenardella/snap7/issues/11Issue Tracker
- https://github.com/davenardella/snap7/pull/12Issue TrackerPatch
- https://github.com/davenardella/snap7/blob/30f37da3114024a71ba93f7fd855c680b97a406f/src/core/s7_micro_client.cpp#L1705-L1753Technical Details
- VulnCheck Advisory: Snap7 through 1.4.3 Heap-Based Buffer Overflow via TSnap7MicroClient::opReadSZLThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.