CVE-2026-138109
published medium CVSS 4.0 · 6.9davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| davenardella | — | snap71.4.0 · 1.4.1 · 1.4.2 · 1.4.3 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | 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 | — |
| 3.0 | 7.3 | high | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| davenardella | snap7 | 1.4.0 (affected)1.4.1 (affected)1.4.2 (affected)1.4.3 (affected) | VulDB · cna |
Weaknesses
2- CWE-121 Stack-based Buffer Overflow
- CWE-119 Memory Corruption
References
7- https://github.com/davenardella/snap7/
- https://github.com/davenardella/snap7/issues/42
- https://github.com/davenardella/snap7/pull/44
- CVE-2026-138109 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-138109
- Submit #1074225 | Davide Nardella Snap7 <=1.4.3 (30f37da) Stack-based Buffer Overflow https://vuldb.com/submit/1074225
- VDB-445027 | davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow https://vuldb.com/vuln/445027
- VDB-445027 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/445027/cti
Provider assertions
2VulDB · cna
davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 48fd0338aa40e5e3fbb257ab41bdd83c4fc1bf7698778885704f792b37770d07
- Ingested
- 30 Nov 2026, 18:37:20 UTC
- Source record
- Official CVE record