Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify reachable IEC 60870-5-104 TCP port
-
DeliveryCraft I-frame with inflated ASDU object count
-
ExploitSend malformed frame to lib60870 parser
-
ExecutionTrigger one-byte heap over-read in InformationObject_ParseObjectAddress
-
ImpactObtain adjacent heap byte or crash parser process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target system has an IEC 60870-5-104 TCP server (or client processing inbound frames) built on lib60870 with a reachable network endpoint, and that the attacker can deliver a crafted I-frame to that endpoint. Because the CVSS 4.0 vector specifies PR:N (no privileges) and UI:N (no user interaction), no authentication to the IEC 60870-5-104 service is required - the flaw is in the packet parsing layer before any authentication handshake. What limits exploitation in practice: IEC 60870-5-104 endpoints are typically not exposed to the public internet and are segmented within OT/SCADA networks; the over-read is exactly one byte, constraining the information disclosure to a single heap byte per crafted frame; and exploitation for code execution (beyond a crash) would require additional primitives not evident from the current description. |
| Impact | The CVSS 4.0 base score of 6.9 with AV:N/AC:L/AT:N/PR:N/UI:N reflects a straightforward network-reachable flaw requiring no authentication or user interaction, which elevates real-world risk in ICS deployments where IEC 60870-5-104 ports are exposed to untrusted networks or interconnected OT zones. Confidentiality impact is rated Low (VC:L), consistent with a single-byte heap over-read that may leak adjacent memory contents. Availability impact is also Low (VA:L), suggesting a potential process crash or degraded state rather than full denial of service. EPSS data was not provided in the input, so exploitation probability cannot be quantified. No CISA KEV listing is present, and no POC has been identified at time of analysis, meaning active exploitation is not confirmed. The ICS context is the primary risk amplifier: affected systems are often deployed in critical infrastructure (power distribution, substation automation) where process crashes can have operational safety consequences disproportionate to the raw CVSS score. The one-byte over-read is a narrow primitive, but in C-based ICS parsers without memory-safe mitigations it can contribute to information leakage or parser instability. |
| Exploit ScenarioDerived | An attacker with network access to a host running lib60870-based software sends a single crafted IEC 60870-5-104 TCP I-frame in which the ASDU Information Object count field declares more objects than are present in the payload. When the library parses this frame, |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Out-of-bounds read in mz-automation/lib60870 allows unauthenticated remote attackers to leak one byte of heap memory and potentially crash the parsing process by sending a crafted IEC 60870-5-104 I-frame. The vulnerability triggers when a declared ASDU object count exceeds the actual data present in the message buffer, causing InformationObject_ParseObjectAddress to read one byte beyond the allocated heap region. Disclosed via CISA ICS Advisory ICSA-26-211-11 with no public exploit identified at time of analysis.
RemediationAI
The primary remediation is to upgrade lib60870 to the patched version identified in GHSA-7v97-jmwv-w5j7 (https://github.com/mz-automation/lib60870/security/advisories/GHSA-7v97-jmwv-w5j7); an exact fix version was not included in the provided input data, so operators should consult the advisory directly. CISA ICS Advisory ICSA-26-211-11 (https://www.cisa.gov/news-events/ics-advisories/icsa-26-211-11) should also be reviewed for vendor-specific guidance if lib60870 is embedded in a commercial product. Where an immediate patch cannot be applied, compensating controls include restricting TCP access to IEC 60870-5-104 ports (default 2404) via firewall ACLs to trusted engineering workstations and control-center IP ranges only - this eliminates the network attack surface but does not mitigate insider or lateral-movement threats. Network-level deep packet inspection capable of validating ASDU object-count fields against actual payload length can detect and drop malformed I-frames without requiring library changes, though this adds processing latency and may affect real-time control performance.
Affected VersionsENISA
Affected Packages
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
lib60870 is an open-source C library by mz-automation implementing the IEC 60870-5-101 and IEC 60870-5-104 telecontrol protocols, widely used in SCADA and power-grid infrastructure. IEC 60870-5-104 transmits I-frames (information transfer frames) over TCP, each carrying an Application Service Data Unit (ASDU) with a declared count of Information Objects. The root cause (CWE-125, Out-of-bounds Read) is a missing or insufficient bounds check in InformationObject_ParseObjectAddress: when the declared object count in the ASDU header exceeds the number of objects that actually fit within the heap-allocated message buffer, the parser advances its read pointer past the buffer's terminal byte. No CPE identifier was provided in the input, but the affected codebase is traceable to github.com/mz-automation/lib60870 per GHSA-7v97-jmwv-w5j7.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable with no auth (PR:N); one-byte heap over-read gives low confidentiality and potential parser crash gives low availability; scope unchanged.
Primary rating from Vendor (hq).
CVSS VectorVendor: hq
DescriptionCVE.org
A crafted IEC 60870-5-104 I-frame with a declared object count exceeding what fits in the ASDU body causes InformationObject_ParseObjectAddress to read one byte past the end of the heap-allocated message buffer.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-51361
GHSA-gqw6-mwcf-3xwh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB