CVE-2026-138109
7.3HighPublished Nov 29, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Limited impact
- Weakness
- CWE-119, CWE-121
What an attacker gets
Remote unauthenticated attackers can trigger a stack-based buffer overflow to crash the service or potentially execute code. This is exploitable via a crafted S7 Server WriteVar request.
Root cause
The TS7Worker::PerformFunctionWrite function fails to properly validate the ItemsCount argument, leading to a stack-based buffer overflow.
Affected versions
snap7 up to 1.4.3
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Fix & remediation
Upgrade to the latest version from the official repository once a release containing the fix for PR #44 is available. Until then, restrict network access to the S7 server port to trusted internal IP addresses only.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1381127.3HighUnauthenticated remote attackers can create API keys due to missing authorization checks. This allows full access to the Legacy API endpoint without credentials.
- CVE-2026-1381117.3HighRemote attackers can execute unauthorized actions through the exploit executor. No authentication is required to trigger this vulnerability.
- CVE-2026-1381057.3HighRemote unauthenticated attackers can execute arbitrary code on the server. They only need network access to the magic-api JDBC test endpoint.
- CVE-2026-1381037.3HighUnauthenticated attackers can execute arbitrary code via the saveFile function. This vulnerability is remotely exploitable and has public exploit code available.
- CVE-2026-1381029.9CriticalRemote attackers can execute arbitrary OS commands as root. They only need low-privileged access to the web interface to trigger the injection.
- CVE-2026-1381007.3HighRemote attackers can bypass security protections in MassGen. This allows unauthorized manipulation of the filesystem without requiring authentication.