← News

Snap7: Remote code execution

HighAI-generated2026-11-29

CVE
CVE-2026-138109
Severity
High (CVSS 7.3)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.4% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

Snap7 versions up to 1.4.3 contain a flaw that allows remote attackers to trigger a stack-based buffer overflow.

Details

According to the NVD record, a vulnerability exists in the Snap7 library up to version 1.4.3. The issue is in the TS7Worker::PerformFunctionWrite function of the S7 Server WriteVar Request Handler, where the ItemsCount argument can be manipulated.

An attacker who can send a crafted request can cause a stack-based buffer overflow, potentially leading to remote code execution on the affected system.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 29 November 2026 This article was written
  • 29 November 2026 NVD record published