CVE-2026-67873

Published Aug 5, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
A heap-based buffer overflow exists in lib60870-C 2.4.0 in the server-side FileSegment ASDU encoding path. The issue occurs because FileSegment_encode() validates only the standalone segment length via FileSegment_GetMaxDataSize() and does not verify the residual capacity of the current ASDU frame before encoding object fields and segment data

Analysis

AI-generated

Technical impact

A heap‑based buffer overflow occurs in the lib60870-C 2.4.0 library when encoding FileSegment ASDU frames. The function only checks the standalone segment length and ignores the remaining capacity in the ASDU frame, allowing an attacker to overflow the heap. This overflow can corrupt adjacent data and potentially allow arbitrary code execution, compromising confidentiality, integrity and availability. Based on the description, it is inferred that the buffer overflow can be triggered by specially crafted network packets sent to the server side of the library.

Affected Systems

The vulnerability affects systems that incorporate the lib60870-C C library, version 2.4.0, which implements the IEC 60870‑5‑102 protocol used in industrial control and supervisory control and data acquisition (SCADA) environments. No other affected versions are listed in the available data.

Risk and Exploitability

The CVSS score is 9.8, indicating a high severity vulnerability. The EPSS score is < 1%, indicating a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting that public exploits have not yet been documented. The attack vector is likely remote, via network traffic directed at the server side of the library. Breaches could lead to remote code execution, leading to full system compromise or denial of service if the overflow causes a crash.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Replace the vulnerable library with a corrected release such as a later lib60870‑C build that fixes the FileSegment encoding validation.
  • If an upgrade can not be performed immediately, restrict network traffic to the server exposing the library so that only trusted IP addresses can send IEC 60870‑5‑102 frames, mitigating exposure to crafted packets.
  • Enable detailed logging of memory operations and monitor for segmentation faults or anomalous memory usage that could indicate an attempted overflow or exploitation.

Generated by OpenCVE AI on August 6, 2026 at 15:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mz-automation
Mz-automation lib60870
Vendors & Products Mz-automation
Mz-automation lib60870
Type Values Removed Values Added
Title Heap-based Buffer Overflow in lib60870-C 2.4.0 ASDU Encoding Path
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Heap-based Buffer Overflow in lib60870-C 2.4.0 ASDU Encoding Path
Weaknesses CWE-122
Type Values Removed Values Added
Description A heap-based buffer overflow exists in lib60870-C 2.4.0 in the server-side FileSegment ASDU encoding path. The issue occurs because FileSegment_encode() validates only the standalone segment length via FileSegment_GetMaxDataSize() and does not verify the residual capacity of the current ASDU frame before encoding object fields and segment data
References
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2026, 12:23 PM
Reserved
Jul 30, 2026, 12:00 AM
Status
Deferred
Published
Aug 6, 2026, 12:16 AM
Modified
Aug 31, 2026, 7:33 PM