Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Windows Modbus TCP endpoint
-
DeliverySend malformed/incomplete frame
-
ExploitTrigger faulty receive-loop timeout
-
ExecutionRead blocks or spins
-
PersistModbus service hangs
-
ImpactAvailability denied to operators
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to be running libmodbus version 3.1.12 built for and executing on Windows, with a Modbus TCP endpoint (client or server) reachable over the network by the attacker; the Windows-specific timeout-handling defect is the core prerequisite, so POSIX/Linux builds and pure serial/RTU deployments are not indicated as vulnerable. No authentication, credentials, or user interaction are needed (PR:N/UI:N), and the attack works against a network-reachable service. The principal limiting factors are platform (Windows only), version (3.1.12), and network exposure of the Modbus port - in properly segmented ICS environments where TCP/502 is unreachable from untrusted networks, realistic exploitability drops sharply despite the HIGH CVSS. |
| Impact | The signals are mixed and skew toward moderate, targeted risk rather than mass exploitation. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5 HIGH) reflects a pure availability impact reachable remotely without authentication or user interaction, which is credible for a network-facing Modbus service. However, EPSS is very low (0.15%, 5th percentile) and CISA SSVC records Exploitation as 'none' observed and Technical Impact as only 'partial' (not total), tempering the HIGH CVSS. SSVC does flag the issue as 'automatable: yes,' meaning the attack can be scripted and repeated at scale, which matters for exposed ICS endpoints. Net: this is a real but contained DoS - no confidentiality or integrity loss, no code execution - that is a genuine priority only where a Windows host running libmodbus is directly reachable from untrusted networks. The impersonal CPE and 'n/a' EUVD version data are conflicting/missing signals: verify the exact affected component and version against the upstream issue rather than relying on NVD CPE. |
| Exploit ScenarioDerived | An attacker with network reachability to a Windows host running a libmodbus 3.1.12-based Modbus TCP server or client sends a crafted or deliberately incomplete/slow Modbus frame that triggers the faulty read-timeout path, causing the receive loop to block or consume resources without recovering. Because no authentication or user interaction is required (AV:N/PR:N/UI:N) and the attack is automatable per SSVC, the attacker can repeatedly hang the service to keep the Modbus endpoint offline. A public gist (https://gist.github.com/MrAlaskan/f22dcf01a5dd90da1b191fcee9043a32) referenced in the advisory likely provides reproduction/PoC material. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Denial of service in libmodbus 3.1.12 on Windows lets remote attackers exhaust or hang a Modbus application by abusing improper timeout handling in the TCP receive loop. Because CWE-400 resource mismanagement occurs during network reads, an unauthenticated peer can stall or crash the availability of Modbus master/slave processes built on the library. No CISA KEV listing exists and EPSS is low (0.15%), but a public gist referenced in the advisory likely carries proof-of-concept material, and CISA SSVC marks the flaw as automatable.
RemediationAI
No vendor-released patch or fixed tag is identified in the available data at time of analysis - the only upstream reference is issue tracker #843 (https://github.com/stephane/libmodbus/issues/843), not a tagged release, so track that issue and the libmodbus release notes for a patched version before upgrading. Until an official fix ships, apply network-layer compensating controls: restrict inbound access to the Modbus TCP port (default TCP/502) to an allowlist of trusted engineering-workstation IPs via host or perimeter firewall, and segment the ICS/OT network so Windows hosts running libmodbus are never directly reachable from IT or the internet (trade-off: none for legitimate isolated ICS, but breaks remote polling that crosses zones). Where feasible, front the service with a proxy or watchdog that enforces its own read timeout and auto-restarts hung processes, and set explicit application-level response/byte timeouts if the calling code exposes libmodbus timeout APIs. Review VulDB (https://vuldb.com/vuln/378182) and the NVD entry for updated fix information.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libmodbus is a widely used cross-platform C library implementing the Modbus RTU and Modbus TCP protocols for SCADA/ICS and industrial IoT equipment, acting as the transport layer between masters (clients) and slaves (servers). The defect is classified CWE-400 (Uncontrolled Resource Consumption) and lives in the library's receive loop, where timeout management during socket read operations is handled incorrectly on the Windows platform specifically - likely a difference between Winsock and POSIX select()/recv() timeout semantics. When timeouts are not enforced correctly, a read can block indefinitely or spin, tying up the process. The supplied CPE (cpe:2.3:a:n/a:n/a) is a placeholder and does not identify the product, so affected-component identification relies on the description naming libmodbus 3.1.12 and the upstream GitHub issue (#843).
Know when N A gets its next vulnerability
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable Modbus service, no auth or interaction (PR:N/UI:N), low complexity; impact is availability-only DoS with no confidentiality or integrity effect, giving A:H, C:N, I:N.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
A Denial of Service (DoS) vulnerability exists in the receive loop of libmodbus 3.1.12 when running on Windows. The issue stems from improper timeout management during network read operations.
Executive ViewAI
Libmodbus 3.1.12 on Windows contains a denial-of-service vulnerability (CVE-2026-51539) with publicly available exploit code that allows remote attackers to crash Modbus-based applications and disrupt critical industrial and operational control systems. Organizations running Windows-based Modbus implementations face potential service downtime in production environments with no vendor patch currently available. The flaw's automatable nature and public proof-of-concept references create immediate risk to operational continuity in affected infrastructure.
Network segmentation to restrict Modbus TCP access to trusted endpoints only; connection timeout enforcement via firewall or proxy devices; enhanced monitoring for connection exhaustion and resource stalling patterns; redundancy and failover mechanisms to maintain service availability during attacks; operational review to identify and disable exposed Modbus services where not essential to operations.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-43605
GHSA-4fx8-wmg3-693v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB