CVE-2026-138109
davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow
CVSS Score
7.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-121 CWE-119 |
| Vendor | davenardella |
| Product | snap7 |
| Published | Nov 29, 2026 |
Stay Ahead of the Next One
Get instant alerts for davenardella snap7
Be the first to know when new high vulnerabilities affecting davenardella snap7 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
davenardella / snap7
1.4.0 1.4.1 1.4.2 1.4.3
References
vuldb.com: https://vuldb.com/vuln/445027 vuldb.com: https://vuldb.com/vuln/445027/cti vuldb.com: https://vuldb.com/cve/CVE-2026-138109 vuldb.com: https://vuldb.com/submit/1074225 github.com: https://github.com/davenardella/snap7/issues/42 github.com: https://github.com/davenardella/snap7/pull/44 github.com: https://github.com/davenardella/snap7/
Credits
GyuHyunJeon ๐ GyuHyunJeon (VulDB User) GyuHyunJeon (VulDB User)