---
title: "CVE-2026-138109: davenardella snap7 - Buffer Overflow"
description: "davenardella snap7 <= 1.4.3 contains a stack-based buffer overflow caused by improper handling of the ItemsCount argument in TS7Worker::PerformFunctionWrite in S7 Server WriteVar Request Handler, letting remote attackers execute code, exploit requires network access."
url: https://panop.io/threat-heartbeat/CVE-2026-138109/
---

# CVE-2026-138109 davenardella snap7 - Buffer Overflow

davenardella snap7 <= 1.4.3 contains a stack-based buffer overflow caused by improper handling of the ItemsCount argument in TS7Worker::PerformFunctionWrite in S7 Server WriteVar Request Handler, letting remote attackers execute code, exploit requires network access.

CVSS base score 7.3 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-138109)

## Details

Type

Buffer Overflow

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Published

29 November 2026

Updated

29 November 2026

Weakness

[CWE-119](https://cwe.mitre.org/data/definitions/119.html)

## Vendor fix

Update to a version later than 1.4.3 or the latest available version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-138109](https://nvd.nist.gov/vuln/detail/CVE-2026-138109)
- [https://vuldb.com/vuln/445027](https://vuldb.com/vuln/445027)
- [https://vuldb.com/vuln/445027/cti](https://vuldb.com/vuln/445027/cti)
- [https://github.com/davenardella/snap7/](https://github.com/davenardella/snap7/)
- [https://github.com/davenardella/snap7/issues/42](https://github.com/davenardella/snap7/issues/42)
- [https://github.com/davenardella/snap7/pull/44](https://github.com/davenardella/snap7/pull/44)
- [https://vuldb.com/cve/CVE-2026-138109](https://vuldb.com/cve/CVE-2026-138109)
- [https://vuldb.com/submit/1074225](https://vuldb.com/submit/1074225)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
