Skip to main content

lib60870 CVE-2026-51219

| EUVDEUVD-2026-40245 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-06-29 mitre GHSA-27wh-38h4-pr2j
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed IEC 60870-5-104 service endpoint
  2. Delivery
    Craft malformed ASDU message with overflow payload
  3. Exploit
    Establish protocol session and deliver crafted message
  4. Execution
    Trigger heap overflow in HighPriorityASDUQueue_hasUnconfirmedIMessages
  5. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Jul 22, 2026 - 20:08 CVSS 6.5

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

n/a n/a

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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable IEC 60870-5-104 endpoint requires no authentication; impact is strictly availability-only with no confidentiality or integrity effect.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 14:33 vuln.today
v2 - CVSS changed
Severity Changed
Aug 04, 2026 - 14:23 NVD
MEDIUM HIGH
CVSS changed
Aug 04, 2026 - 14:23 NVD
6.5 (MEDIUM) 7.5 (HIGH)
CVE Published
Jun 29, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche open-source IEC 60870-5 library for OT/SCADA deployments
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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