Read the docs

Heap buffer overflow in Snap7 lets rogue PLCs corrupt client memory

Priority LOW 37CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Snap7 through 1.4.3 from davenardella contains a heap-based buffer overflow (CWE-122) in TSnap7MicroClient::opReadSZL(). A rogue or impersonated PLC can send oversized multi-slice SZL responses with attacker-controlled data lengths, overflowing the 65536-byte opData buffer. This crashes the client and corrupts heap memory without requiring privileges or user interaction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00592 42nd percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
davenardellasnap7up to 1.4.3—No fix listedCNA
  • snap7 Vendordavenardella Affected up to 1.4.3 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Snap7.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Timeline

  1. 2026-11-17 Threatist record created from CVE-2026-131849
  2. 2026-11-18 Alias added: GHSA-68f4-569m-2rvc
  3. 2026-11-18 CISA SSVC decision points changed

References

  • TI-2026-99482 Stack buffer overflow in snap7 S7 Server WriteVar request handler CVSS 4.0MEDIUM 6.9
  • TI-2026-93632 Out-of-bounds write in Snap7 lets malicious PLCs crash clients CVSS 4.0HIGH 8.3
  • TI-2026-75061 snap7 Out-of-Bounds Write via TSnap7MicroClient::opReadArea CVSS 4.0HIGH 8.3
  • TI-2026-13566 davenardella snap7 s7_peer.cpp NegotiatePDULength out-of-bounds write CVSS 4.0MEDIUM 5.3
  • TI-2026-12717 davenardella snap7 ReadVar Request s7_server.cpp PerformFunctionRead out-of-bounds write CVSS 4.0MEDIUM 5.3
  • TI-2026-61586 davenardella snap7 s7_micro_client.cpp opUpload memory corruption CVSS 4.0MEDIUM 5.1
See all 7 →

Sources