CVE-2026-138109 PUBLISHED

davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow

Assigner: VulDB
Reserved: 27.11.2026 Published: 29.11.2026 Updated: 29.11.2026

A security flaw has been discovered in davenardella snap7 up to 1.4.3. Affected is the function TS7Worker::PerformFunctionWrite of the file src/core/s7_server.cpp of the component S7 Server WriteVar Request Handler. The manipulation of the argument ItemsCount results in stack-based buffer overflow. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
CVSS Score: 6.9

Product Status

Vendor davenardella
Product snap7
Versions
  • Version 1.4.0 is affected
  • Version 1.4.1 is affected
  • Version 1.4.2 is affected
  • Version 1.4.3 is affected

Credits

  • GyuHyunJeon finder
  • GyuHyunJeon (VulDB User) reporter
  • GyuHyunJeon (VulDB User) analyst

References

Problem Types

  • Stack-based Buffer Overflow CWE
  • Memory Corruption CWE