7.4High
CVE-2026-111280snap7 through 1.4.3 Out-of-Bounds Write via TSnap7MicroClient::opReadArea
Description
snap7 through 1.4.3 contains an out-of-bounds write vulnerability in TSnap7MicroClient::opReadArea() that allows malicious S7 peers to overflow client buffers via an unchecked DataLength field. Rogue or impersonated PLCs can return crafted ReadVar responses causing memcpy of up to 65535 bytes into caller buffers, crashing SCADA, HMI, or gateway processes and corrupting memory.
Weakness (CWE):
CWE-787
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| davenardella | snap7 | ≤ 1.4.3 | |
| snap7 project | snap7 | ≤ 1.4.3 |
References and patches
- https://github.com/davenardella/snap7/issues/31 issue-tracking
- https://github.com/davenardella/snap7/blob/30f37da3114024a71ba93f7fd855c680b97a406f/src/core/s7_micro_client.… technical-description
- https://github.com/davenardella/snap7 product
- VulnCheck Advisory: snap7 through 1.4.3 Out-of-Bounds Write via TSnap7MicroClient::opReadArea third-party-advisory