davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 29, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 27, 2026
Description
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.
| Product | Versions |
|---|---|
| snap7 davenardella | 1.4.0 Affected1.4.1 Affected1.4.2 Affected1.4.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulDB | |
| 3.1 | 7.3 High | VulDB | |
| 3.0 | 7.3 High | VulDB | |
| 2.0 | 7.5 High | VulDB |
Weaknesses
References
- VDB-445027 | davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflowVulnerability DatabaseTechnical Details
- VDB-445027 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-138109 | CVE Analysis and ReportThird-Party Advisory
- Submit #1074225 | Davide Nardella Snap7 <=1.4.3 (30f37da) Stack-based Buffer OverflowThird-Party Advisory
- https://github.com/davenardella/snap7/issues/42ExploitIssue Tracker
- https://github.com/davenardella/snap7/pull/44Issue TrackerPatch
- https://github.com/davenardella/snap7/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.