CVE-2026-131848 Snap7 through 1.4.3 Out-of-Bounds Write via TSnap7MicroClient::opReadMultiVars
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-131848?
CVE-2026-131848 is a high-severity vulnerability in davenardella snap7, published on 17 Nov 2026.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2026-131848?
1 open source package ship an affected version, including davenardella/snap7.
| Package | Affected | Fixed in |
|---|---|---|
davenardella/snap7 GitHubpkg:github/davenardella/snap7 | All versions to 1.4.3 | None |
How do I fix CVE-2026-131848?
No fix has been published for CVE-2026-131848 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-131848 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-131848 exists.
Sources
Also known as GHSA-xr6p-cjp3-pvwg, UBUNTU-CVE-2026-131848.