Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed IEC 60870-5-104 service endpoint
-
DeliveryCraft malformed ASDU message with overflow payload
-
ExploitEstablish protocol session and deliver crafted message
-
ExecutionTrigger heap overflow in HighPriorityASDUQueue_hasUnconfirmedIMessages
-
ImpactCrash target process causing service outage
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network connectivity to a host running an application built against lib60870 versions 2.3.3-2.3.6 that exposes an IEC 60870-5-104 communication endpoint, typically on TCP port 2404. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms no authentication is required and attack complexity is low, meaning no credentials or user interaction are needed to deliver the malicious payload. However, SSVC's Automatable: No classification indicates the exploit is not trivially mass-deployable - likely because initiating a valid IEC 60870-5-104 session or crafting a correctly structured ASDU requires protocol-specific knowledge. Exploitation impact is strictly limited to Denial of Service; no code execution, privilege escalation, or data exfiltration is possible through this vector. Deployments that segment IEC 60870-5-104 endpoints within trusted OT network zones with no external exposure are substantially protected against unauthenticated exploitation. |
| Impact | The CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a network-exploitable, unauthenticated attack requiring no user interaction, with full availability impact - metrics that elevate the headline score. However, real-world risk must be tempered by several counterweights: SSVC marks Automatable as No, meaning the attack is unlikely to be mass-weaponized trivially, likely due to protocol-level session requirements specific to IEC 60870-5-104 communication; Technical Impact is rated only Partial; and EPSS at 0.18% (8th percentile) indicates very low current exploitation probability across the broader internet. The vulnerability is not in CISA KEV. The most elevated real-world risk exists for OT and ICS environments where lib60870 is embedded in availability-critical systems - downtime from a DoS can have operational consequences disproportionate to what CVSS captures. For general IT environments, risk is low due to niche deployment context. There is no confidentiality or integrity impact, ruling out data exfiltration or system compromise scenarios. |
| Exploit ScenarioDerived | An attacker with network access to a SCADA or ICS host running an application built on lib60870 2.3.3-2.3.6 sends a crafted IEC 60870-5-104 ASDU message to the exposed service port, exploiting insufficient bounds checking in HighPriorityASDUQueue_hasUnconfirmedIMessages to overflow the heap and crash the process. SSVC confirms a proof-of-concept exists, lowering the bar for a knowledgeable attacker familiar with the IEC 60870-5 protocol to trigger the crash. In an OT environment, the resulting service outage could disable remote monitoring or control of grid substations or RTUs until manual intervention restores the service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 04, 2026
Heap buffer overflow in lib60870 versions 2.3.3 through 2.3.6 allows remote unauthenticated attackers to crash processes handling IEC 60870-5 protocol traffic by sending crafted Application Service Data Unit (ASDU) messages. The overflow occurs in the HighPriorityASDUQueue_hasUnconfirmedIMessages function, which manages high-priority message queuing in the IEC 60870-5-104 telecontrol protocol stack - making this particularly relevant to SCADA and industrial control system deployments where availability is operationally critical. No active exploitation is confirmed by CISA KEV; however, SSVC indicates a proof-of-concept exists, and EPSS of 0.18% (8th percentile) suggests minimal current exploitation activity.
Earlier versions of this analysis (1)
Heap buffer overflow in lib60870 versions 2.3.3 through 2.3.6 allows remote attackers to crash IEC 60870-5 protocol implementations by delivering a crafted payload that overflows the heap in the HighPriorityASDUQueue_hasUnconfirmedIMessages function, resulting in process termination and loss of telecontrol communications. Industrial control systems, SCADA gateways, and substation automation devices embedding this library are affected, where availability loss can carry operational consequences beyond what a medium CVSS score implies. A proof-of-concept exists per SSVC data; however, CISA has not added this to the KEV catalog and EPSS sits at 0.18% (8th percentile), indicating low observed exploitation in the wild.
RemediationAI
Upgrade lib60870 to a release beyond version 2.3.6; check https://github.com/mz-automation/lib60870/releases for the latest available version containing the fix. The upstream issue tracker entry at https://github.com/mz-automation/lib60870/issues/196 should be consulted to confirm patch status and identify the exact fixing commit or tagged release, as no specific patched version was confirmed in the available intelligence. As a compensating control where upgrading is not immediately feasible, restrict network access to the IEC 60870-5-104 service port (default TCP 2404) using firewall rules or network ACLs to permit only trusted SCADA masters and RTUs - this directly reduces the attack surface to trusted network segments and counteracts the AV:N/PR:N attack vector. Note that port-level blocking will disrupt legitimate telecontrol communication and must be coordinated with operations teams before implementation. Deploying protocol-aware deep packet inspection capable of validating IEC 60870-5 ASDU structure can provide an additional detection or blocking layer.
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
lib60870 is an open-source C library maintained by mz-automation that implements the IEC 60870-5 protocol family (including -101 and -104 variants), used extensively in energy grid automation, SCADA systems, and industrial telecontrol equipment for communication between control centers and remote terminal units (RTUs). The vulnerability is classified as CWE-122 (Heap-based Buffer Overflow), occurring specifically in HighPriorityASDUQueue_hasUnconfirmedIMessages - a function responsible for checking unconfirmed I-format messages in the high-priority ASDU queue. Insufficient bounds validation on heap-allocated buffer operations during message processing allows an attacker-controlled payload to write beyond the allocated buffer, corrupting heap metadata and triggering a process crash. The affected CPE is listed as cpe:2.3:a:n/a:n/a, indicating this library lacks a formally registered NVD CPE entry, reflecting its status as a community-maintained open-source dependency rather than a tracked commercial product.
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 IEC 60870-5-104 endpoint requires no authentication; impact is strictly availability-only with no confidentiality or integrity effect.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
4DescriptionCVE.org
A heap buffer overflow in the HighPriorityASDUQueue_hasUnconfirmedIMessages function of lib60870 v2.3.3 to v2.3.6 allows attackers to cause a Denial of Service (DoS) via a crafted payload.
Executive ViewAI
lib60870 versions 2.3.3-2.3.6 contain a heap buffer overflow affecting IEC 60870-5 protocol implementations in SCADA and industrial control systems. Remote attackers can crash processes handling telecontrol traffic, disrupting availability in operationally critical environments. Proof-of-concept code is publicly available, and no vendor patch currently exists-immediate containment actions are required.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation isolating IEC 60870-5 endpoints from untrusted sources; (2) strict firewall rules on protocol ports (TCP 2404) with ingress restriction and egress controls; (3) network-based intrusion detection monitoring for malformed ASDU payloads; (4) process monitoring and automatic restart capabilities for service resilience; (5) continuous monitoring of vendor advisory channels for patch release.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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-40245
GHSA-27wh-38h4-pr2j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB