Description
A heap buffer overflow in the TS7Worker::PerformFunctionWrite() function (/core/s7_server.cpp) of snap7 v1.4.3 allows attackers to cause a Denial of Service (DoS) via a crafted packet.
Published: 2026-06-29
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in snap7’s TS7Worker::PerformFunctionWrite() routine corrupts heap memory when a specially crafted Modbus packet is processed. This unchecked write to unmanaged memory, identified as CWE-122, can crash the library, leading to loss of availability for any application or device that relies on snap7 for Modbus communication.

Affected Systems

The vulnerability exists in the open‑source snap7 library version 1.4.3. Devices or software that incorporate this library—such as industrial automation controllers, SCADA systems, or monitoring tools—are potentially exposed. Later releases of snap7 are expected to contain the fix.

Risk and Exploitability

The CVSS score of 7.5 classifies the issue as high severity, although the EPSS score of less than 1% suggests a low current exploitation probability. Based on the description, it is inferred that the attack vector is remote, most likely through the Modbus TCP port, allowing an external actor to trigger the overflow and induce a denial‑of‑service. The vulnerability is not currently listed in the CISA KEV catalog, but its remote nature and impact warrant prompt remediation.

Generated by OpenCVE AI on August 5, 2026 at 02:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade snap7 to the latest version that includes the TS7Worker bounds‑check fix.
  • If an upgrade is not immediately possible, block or filter traffic on the Modbus TCP port used by the vulnerable library to prevent external packet delivery.
  • As a temporary measure, disable or limit the function write capability in the library’s configuration to reduce the attack surface.

Generated by OpenCVE AI on August 5, 2026 at 02:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 03:15:00 +0000

Type Values Removed Values Added
Title Heap Buffer Overflow in snap7 TS7Worker Causing DoS

Sun, 02 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
Title Heap Buffer Overflow in snap7 TS7Worker Function Causes Denial of Service

Thu, 30 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

ssvc

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

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

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


Wed, 01 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Davenardella
Davenardella snap7
Vendors & Products Davenardella
Davenardella snap7

Tue, 30 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
Title Heap Buffer Overflow in snap7 TS7Worker Function Causes Denial of Service

Tue, 30 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

ssvc

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


Mon, 29 Jun 2026 22:30:00 +0000

Type Values Removed Values Added
Description A heap buffer overflow in the TS7Worker::PerformFunctionWrite() function (/core/s7_server.cpp) of snap7 v1.4.3 allows attackers to cause a Denial of Service (DoS) via a crafted packet.
References

Subscriptions

Davenardella Snap7
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-30T16:50:13.496Z

Reserved: 2026-06-07T00:00:00.000Z

Link: CVE-2026-51218

cve-icon Vulnrichment

Updated: 2026-06-30T13:31:10.756Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T03:00:13Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow