CVE-2026-138109: davenardella snap7 · Stack-based Buffer Overflow
Affects davenardella snap7Source CVE Database V5
Public exploit available · CVSS 6.9 Medium.
Data as of 29 Nov 2026, 04:00 UTC
Thin evidence
One scorer or none| CNA (VulDB) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulDB) | CVSS 3.1 | 7.3 |
| CNA (VulDB) | CVSS 3.0 | 7.3 |
| CNA (VulDB) | CVSS 2.0 | 7.5 |
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:PExploitation evidence
Disclosed: evidence found.
CVE published 29 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| davenardellasnap7 | Affected
| Fixed in– |
CPE configurations (1)
cpe:2.3:a:davenardella:snap7:*:*:*:*:*:*:*:*
AI-suggested
Users should monitor the vendor's advisories for updates and apply any official patches once available. Until a fix is released, consider restricting network access to the vulnerable service to trusted sources only to reduce exposure.
Description
CVE-2026-138109 is a stack-based buffer overflow vulnerability in the davenardella snap7 library versions 1.4.0 through 1.4.3. It affects the TS7Worker::PerformFunctionWrite function in the S7 Server WriteVar Request Handler component. The vulnerability arises from improper handling of the ItemsCount argument, allowing remote attackers to trigger a buffer overflow. Public exploit code is available, increasing the risk of exploitation. The CVSS 4.0 score is 6.9, indicating a medium severity level.
References
- vuldb.com/vuln/445027 (opens in a new tab)
- vuldb.com/vuln/445027/cti (opens in a new tab)
- vuldb.com/cve/CVE-2026-138109 (opens in a new tab)
- vuldb.com/submit/1074225 (opens in a new tab)
- github.com/davenardella/snap7/issues/42 (opens in a new tab)
- github.com/davenardella/snap7/pull/44 (opens in a new tab)
- github.com/davenardella/snap7/ (opens in a new tab)