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: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap buffer overflow is triggered within the TS7Worker::PerformFunctionWrite() routine located in core/s7_server.cpp of the snap7 library. By crafting a specific Modbus packet and sending it to a server running snap7 v1.4.3, an attacker can corrupt heap memory and force the process to terminate. The consequence is a loss of availability for the affected application or device, since the crash requires a restart to resume normal operation.

Affected Systems

The vulnerability exists in the snap7 open‑source library maintained by davenardella. Only version 1.4.3 is affected; later releases may contain the fix. Systems employing this library for Modbus communication should be reviewed for potential exposure.

Risk and Exploitability

The CVSS score is not listed, and EPSS data is unavailable, but the flaw permits remote exploitation without authentication, enabling an attacker to cause a denial of service. No entry in the CISA KEV catalog suggests the vulnerability has not yet been exploited in the wild, yet the lack of defensive controls means the risk remains significant for exposed services.

Generated by OpenCVE AI on June 29, 2026 at 23:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade snap7 to a patched version where the TS7Worker::PerformFunctionWrite buffer bounds are correctly enforced
  • If an immediate upgrade is not possible, isolate the Modbus port or filter traffic to limit attack surface until the library is updated
  • Consider disabling or restricting the use of the function write capability in configuration if the library offers such an option

Generated by OpenCVE AI on June 29, 2026 at 23:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-29T22:07:41.773Z

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

Link: CVE-2026-51218

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-29T23:45:04Z

Weaknesses

No weakness.