Skip to main content

snap7 EUVDEUVD-2026-42468

| CVE-2026-15105 LOW
Improper Input Validation (CWE-20)
2026-07-08 cna@vuldb.com GHSA-x9cg-5m94-27cv
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent network segment access
  2. Delivery
    Craft malformed S7 ReadVar protocol packet
  3. Exploit
    Send packet to snap7 server listening port
  4. Execution
    Trigger improper deserialization in TS7Worker::PerformFunctionRead
  5. Impact
    Achieve partial data disclosure and minor integrity or availability impact

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires the attacker to be on the same local network segment or VLAN as the target host (AV:A). The snap7 library must be deployed in server mode with the ReadVar handler active and listening on the network - applications using snap7 in client-only mode are not affected. No authentication is required per CVSS PR:N, and no user interaction is needed. Limiting factors include: the adjacent-network constraint prevents remote internet-based exploitation; the snap7 server component must be explicitly instantiated by the host application; and impact is bounded to partial CIA on the snap7 server process rather than full system compromise. Non-default deployment as a server (versus client library) is the key configuration gate.

Impact

The CVSS 4.0 base score of 2.1 (Low) is consistent with the adjacent-network attack vector (AV:A), which constrains exploitation to attackers already present on the same local network segment or VLAN - substantially reducing the exposed population compared to internet-facing vulnerabilities. The CIA impact is uniformly partial (VC:L/VI:L/VA:L), indicating degraded but not catastrophic outcomes. The E:P supplemental metric confirms publicly available exploit code, which is the primary risk accelerant here. No CISA KEV listing has been identified, so exploitation is classified as 'publicly available exploit code exists' rather than confirmed active exploitation. EPSS data was not provided in the source intelligence and cannot be stated. Despite the low CVSS score, deployments in OT/ICS environments should weigh this more carefully than a typical low-severity finding: snap7 is often embedded in bridging software between IT and OT networks, and even partial availability impact against PLC communication middleware could affect industrial process visibility or control plane signaling. The absence of any vendor response compounds risk for organizations that cannot easily replace the library.

Exploit ScenarioDerived

An attacker with a foothold on the same network segment as an industrial integration host running snap7 in server mode sends a specially crafted S7 ReadVar request to the snap7 listening port. The malformed packet causes TS7Worker::PerformFunctionRead to perform improper deserialization, resulting in partial data disclosure or minor process disruption. A proof-of-concept exploit package is publicly available at the referenced GitHub attachment, meaning no advanced reverse engineering is required.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

Improper input validation in the snap7 library (versions up to 1.4.3) allows adjacent-network attackers to trigger a deserialization flaw via crafted ReadVar requests processed by TS7Worker::PerformFunctionRead in the S7 server component. Exploitation results in partial confidentiality, integrity, and availability impact against the snap7 server process - a concern in industrial OT environments where PLC communication libraries may interface with safety-relevant systems. No vendor-released patch exists as the maintainer has not responded to disclosure, and a publicly available proof-of-concept exploit lowers the barrier to exploitation.

RemediationAI

No vendor-released patch has been identified at time of analysis - the snap7 maintainer had not responded to the disclosure as of the report date. Monitor https://github.com/davenardella/snap7/issues/16 for any upstream response or fix. As a primary compensating control, restrict network access to snap7 server instances using firewall rules or VLAN segmentation so only explicitly trusted PLC engineering workstations or SCADA hosts can reach the snap7 listening port; this eliminates the adjacent-network prerequisite and is the most effective mitigation. If snap7 is deployed in client-only mode within an application, disabling or not initializing the server component entirely removes the attack surface with no operational trade-off. Organizations unable to apply network controls should consider replacing snap7 with a supported alternative or pinning to a vendor-supported PLC communication SDK that receives active security maintenance. No upstream advisory URL is available.

Affected VersionsENISA

snap7 1.4.1
snap7 1.4.0
snap7 1.4.3
snap7 1.4.2

Affected Packages

euvd snap7 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

snap7 is an open-source C++ library for communicating with Siemens S7-family PLCs via the S7 protocol, commonly embedded in industrial control system (ICS) and SCADA integration layers. The vulnerable component is the server-side ReadVar request handler, specifically the TS7Worker::PerformFunctionRead function in src/core/s7_server.cpp. The root cause class is CWE-20 (Improper Input Validation): incoming ReadVar protocol messages are not properly validated before deserialization processing, allowing a malformed packet to influence internal deserialization behavior in unintended ways. This is distinct from CWE-502 (Deserialization of Untrusted Data) - the tag 'Deserialization' reflects how manipulation manifests rather than a pure serialization gadget chain. No CPE strings were provided in the source intelligence; affected versions are identified as up to and including 1.4.3 per VulDB report 376946.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Adjacent network vector (AV:A) as exploitation is constrained to local segment; no authentication required per protocol design; scope unchanged with partial CIA impact consistent with CVSS 4.0 VC/VI/VA:L.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A flaw has been found in davenardella snap7 up to 1.4.3. This affects the function TS7Worker::PerformFunctionRead of the file src/core/s7_server.cpp of the component ReadVar Request Handler. This manipulation causes deserialization. The attack requires access to the local network. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source OT/ICS library for Siemens S7 PLC integration
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy