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
Published: 2026-08-05
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 not provided, but a heap‑based overflow is typically considered high severity. EPSS data is unavailable, and 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.

Generated by OpenCVE AI on August 6, 2026 at 00:23 UTC.

Remediation

No vendor fix or workaround currently provided.

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 cannot 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 00:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 00:45:00 +0000

Type Values Removed Values Added
Title Heap-based Buffer Overflow in lib60870-C 2.4.0 ASDU Encoding Path
Weaknesses CWE-122

Wed, 05 Aug 2026 23:30:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-05T23:14:56.253Z

Reserved: 2026-07-30T00:00:00.000Z

Link: CVE-2026-67873

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T00:30:03Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow