CVE-2026-131848 Details
Description
Snap7 through 1.4.3 contains an out-of-bounds write vulnerability in TSnap7MicroClient::opReadMultiVars() that allows malicious PLCs to overflow client buffers via unchecked DataLength fields. Attackers controlling or impersonating a PLC can return crafted ReadVar responses to Cli_ReadMultiVars() callers, writing up to 65535 bytes per item to corrupt memory and crash clients.
A out-of-bounds write vulnerability has been identified in Snap7 versions through 1.4.3, specifically within the TSnap7MicroClient::opReadMultiVars() function. This vulnerability allows malicious Programmable Logic Controllers (PLCs) to overflow client buffers by exploiting unchecked DataLength fields. When a PLC returns crafted ReadVar responses to callers of Cli_ReadMultiVars(), it can write up to 65,535 bytes per item, leading to memory corruption and client crashes.
The vulnerability can be addressed by validating the length of the data being copied from the PLC before performing the copy operation. This validation should ensure that the length does not exceed the size of the buffer allocated by the calling application.
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 Nov 18, 2026CISA-ADP
Assessed Nov 18, 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/32 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/davenardella/snap7/blob/30f37da3114024a71ba93f7fd855c680b97a406f/src/core/s7_micro_client.cpp#L400-L427 | [email protected] | Source CodeVendor |
| https://github.com/davenardella/snap7/issues/32 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/snap7-through-1.4.3-out-of-bounds-write-via-tsnap7microclient-opreadmultivars | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Snap7 | <= 1.4.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion