Skip to main content

lib60870 EUVDEUVD-2026-51361

| CVE-2026-63033 MEDIUM
Out-of-bounds Read (CWE-125)
2026-07-30 ics-cert@hq.dhs.gov GHSA-gqw6-mwcf-3xwh
6.9
CVSS 4.0 · Vendor: hq
View

Attack ChainAIDerived

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

  1. Access
    Identify reachable IEC 60870-5-104 TCP port
  2. Delivery
    Craft I-frame with inflated ASDU object count
  3. Exploit
    Send malformed frame to lib60870 parser
  4. Execution
    Trigger one-byte heap over-read in InformationObject_ParseObjectAddress
  5. Impact
    Obtain 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, InformationObject_ParseObjectAddress reads one byte past the end of the heap buffer, potentially disclosing a byte of adjacent heap contents to the attacker or causing an access violation that crashes the parsing process. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 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

lib60870 2.4.0

Affected Packages

euvd lib60870 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

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

Vendor (hq) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.5 MEDIUM

Network-reachable with no auth (PR:N); one-byte heap over-read gives low confidentiality and potential parser crash gives low availability; scope unchanged.

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

Primary rating from Vendor (hq).

CVSS VectorVendor: hq

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

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche open-source ICS library, OT/SCADA deployments only
Threat Intel
1
1 sources
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CISA 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: +10
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain), CISA Vulnrichment

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