- Home
- Vulnerabilities
- CVE-2026-138109
CVE-2026-138109
davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow
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
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
- — CVE published (cve)
References
- https://github.com/davenardella/snap7/pull/44issue-tracking, patch
- https://vuldb.com/vuln/445027vdb-entry, technical-description
- https://vuldb.com/vuln/445027/ctisignature, permissions-required
- https://vuldb.com/cve/CVE-2026-138109third-party-advisory
- https://vuldb.com/submit/1074225third-party-advisory
- https://github.com/davenardella/snap7/issues/42exploit, issue-tracking
- https://github.com/davenardella/snap7/product
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