CVE-2026-68908 in libiec61850info

Summary

by MITRE • 10/16/2026

libIEC61850 is an open-source implementation of IEC 61850 client and server protocols including MMS, GOOSE, Sampled Values, and R-Session. Prior to 1.6.2, Reporting_RCBWriteAccessHandler accepts an RptID longer than 129 bytes in the report-control-block write path. When GI later causes sendNextReportEntrySegment to serialize the report, the function wraps rptIdBuf[130] as a temporary MmsValue and passes it to MmsValue_setVisibleString. The setter's resize path frees the stack-backed buffer, allowing a remote client to trigger an invalid free and server crash by writing the oversized RptID and then generating a report. This issue is fixed in version 1.6.2.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 10/16/2026

The libIEC61850 library serves as a critical open-source implementation for IEC 61850 protocols, which are foundational to modern smart grid infrastructure and industrial control systems. These protocols facilitate communication between intelligent electronic devices through mechanisms such as Manufacturing Message Specification (MMS), Generic Object Oriented Substation Event (GOOSE), Sampled Values, and R-Session. The integrity of these libraries is paramount because vulnerabilities within them can compromise the reliability and security of power distribution networks. Prior to version 1.6.2, a significant memory management flaw existed in the handling of report control block write operations, specifically affecting how identifiers for reports are processed during serialization.

The technical root cause lies in the Reporting_RCBWriteAccessHandler function, which is responsible for processing updates to report-control-blocks from remote clients. This handler failed to enforce strict length constraints on the RptID field, allowing a value exceeding 129 bytes to be accepted and stored. When a subsequent event triggers the sendNextReportEntrySegment function to serialize this data into an MMS message, the code attempts to wrap the buffer containing the oversized identifier as a temporary MmsValue object. The critical failure occurs within the setter logic for visible strings in the MmsValue structure. Instead of allocating new heap memory or safely truncating the input, the resize path incorrectly interacts with the stack-backed buffer used for the RptID. Specifically, it attempts to free this stack-allocated memory as if it were dynamically allocated on the heap.

This architectural mismatch results in an invalid free operation, a classic example of improper resource management that leads to undefined behavior and immediate application instability. By crafting a malicious packet with an oversized RptID followed by a trigger for report generation, a remote attacker can exploit this flaw without authentication if the service is exposed. The consequence is a denial of service characterized by a server crash due to memory corruption. This vulnerability aligns closely with CWE-789, which describes the improper initialization or handling of buffers that leads to out-of-bounds access and subsequent crashes. Furthermore, in the context of industrial control systems, this flaw represents a severe availability risk, as it allows an unauthenticated remote actor to disrupt critical monitoring functions by crashing the communication server.

From a threat modeling perspective using the MITRE ATT&CK framework for Industrial Control Systems, this vulnerability facilitates Denial of Service (T1499) and potentially enables further exploitation if the crash state can be manipulated to leak memory contents or trigger code execution through subsequent heap corruption patterns. The attack vector is remote over network protocols like MMS, which are often used in trusted but increasingly targeted environments. To mitigate this risk, organizations must ensure that all libIEC61850 instances are upgraded to version 1.6.2 or later where the buffer handling logic has been corrected to prevent invalid frees on stack memory. Additionally, deploying network segmentation and strict access control lists for IEC 61850 traffic can limit exposure to untrusted networks while patches are applied. Regular vulnerability scanning of industrial protocol stacks is also recommended to detect such implementation flaws before they can be exploited in production environments.

Responsible

GitHub M

Reservation

07/31/2026

Disclosure

10/16/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

low

Sources

Want to know what is going to be exploited?

We predict KEV entries!