CVE-2026-51218 Details
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.
A heap buffer overflow vulnerability has been identified in Snap7 version 1.4.3. The issue arises in the TS7Worker::PerformFunctionWrite() function within the S7 server component. This vulnerability allows attackers to cause a denial-of-service condition by sending a crafted packet that exploits improper handling of S7 WriteVar requests. The server crashes as a result of the malformed packet being parsed, leading to an out-of-bounds read and subsequent memory corruption.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 29, 2026CISA-ADP
Assessed Jul 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/davenardella/snap7/issues/14 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/davenardella/snap7 | [email protected] | ProductSource CodeVendor |
| https://github.com/davenardella/snap7/issues/14 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| snap7 | 1.4.3 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | CISA-ADP |
| Jun 30, 2026 | CVE Modified | CISA-ADP |
| Jun 29, 2026 | New CVE Received | [email protected] |
Volerion