1. Home
  2. Vulnerabilities
  3. CVE-2026-138109

CVE-2026-138109

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

Published 29 Nov 2026 · modified 30 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 48/100

Summary

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.

Affected products and versions

davenardella (4 line(s))
davenardella
ProductVersionsFixed inSource
snap7 1.4.0 — CNA (vendor or assigner)
snap7 1.4.1 — CNA (vendor or assigner)
snap7 1.4.2 — CNA (vendor or assigner)
snap7 1.4.3 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L (CVSS 3.1, NVD)
Weakness
CWE-119 · Corruption mémoire

How this data is obtained and calculated