CVE-2026-15105

davenardella snap7 ReadVar Request s7_server.cpp PerformFunctionRead out-of-bounds write

Published Jul 8, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A flaw has been found in davenardella snap7 up to 1.4.3. This affects the function TS7Worker::PerformFunctionRead of the file src/core/s7_server.cpp of the component ReadVar Request Handler. This manipulation causes out-of-bounds write. The attack requires access to the local network. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

The flaw resides in the TS7Worker::PerformFunctionRead routine within the core snap7 server component, where a ReadVar request is processed without proper bounds checking. An attacker with local‑network access can send a malicious request that triggers an out‑of‑bounds write, potentially corrupting memory and causing unpredictable behavior. This weakness corresponds to CWE‑119 and CWE‑787, and while an exploit exists that can cause memory corruption, a confirmed code‑execution outcome has not yet been formally published by the vendor.

Affected Systems

All installations of davenardella snap7 version 1.4.3 and earlier are affected. The vulnerability lies in the core s7_server code, so any deployment that exposes the snap7 interface over a local or untrusted network—regardless of operating system—is within scope.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate severity. The EPSS score of less than 1% suggests a low probability of widespread exploitation, yet a publicly available proof‑of‑concept exploit has already been released, demonstrating that an attacker with local network access can exploit this flaw. The vulnerability is not listed in the CISA KEV catalog, but the existence of a functional exploit necessitates prompt remediation and network segmentation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a version of snap7 that includes the out‑of‑bounds write fix; if no official patch is available, monitor the vendor or community for a corrective release.
  • Restrict the snap7 server’s network exposure by binding it to localhost or by configuring firewall rules to allow access only from trusted local subnet segments.
  • If the ReadVar functionality is not required, disable it entirely; otherwise, implement strict input validation to reject malformed ReadVar requests before processing.

Generated by OpenCVE AI on August 4, 2026 at 07:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A flaw has been found in davenardella snap7 up to 1.4.3. This affects the function TS7Worker::PerformFunctionRead of the file src/core/s7_server.cpp of the component ReadVar Request Handler. This manipulation causes deserialization. The attack requires access to the local network. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet. A flaw has been found in davenardella snap7 up to 1.4.3. This affects the function TS7Worker::PerformFunctionRead of the file src/core/s7_server.cpp of the component ReadVar Request Handler. This manipulation causes out-of-bounds write. The attack requires access to the local network. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title davenardella snap7 ReadVar Request s7_server.cpp PerformFunctionRead deserialization davenardella snap7 ReadVar Request s7_server.cpp PerformFunctionRead out-of-bounds write
Weaknesses CWE-20
CWE-502
CWE-119
CWE-787
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw has been found in davenardella snap7 up to 1.4.3. This affects the function TS7Worker::PerformFunctionRead of the file src/core/s7_server.cpp of the component ReadVar Request Handler. This manipulation causes deserialization. The attack requires access to the local network. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title davenardella snap7 ReadVar Request s7_server.cpp PerformFunctionRead deserialization
First Time appeared Davenardella
Davenardella snap7
Weaknesses CWE-20
CWE-502
CPEs cpe:2.3:a:davenardella:snap7:*:*:*:*:*:*:*:*
Vendors & Products Davenardella
Davenardella snap7
References
Metrics cvssV2_0

{'score': 5.8, 'vector': 'AV:A/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 1, 2026, 2:56 PM
Reserved
Jul 8, 2026, 5:07 PM
Status
Deferred
Published
Jul 8, 2026, 11:16 PM
Modified
Oct 25, 2026, 5:10 PM