Description
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, checkDataSetAccess reverses the source and destination arguments to StringUtils_copyStringToBuffer while constructing an MMS_ASSOCIATION_SPECIFIC dataset reference. The helper treats uninitialized dataSetRef[130] storage as a source string, causing strlen to read beyond the stack buffer, and then copies those bytes into the caller-owned listName buffer. A remote defineNamedVariableList request can crash servers that have dynamic dataset service enabled and a dataset access handler installed; the advisory also observes caller stack corruption but establishes denial of service as the primary impact. This issue is fixed in version 1.6.2.
Published: 2026-10-16
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from an out‑of‑bounds stack read caused by reversed arguments to StringUtils_copyStringToBuffer during MMS_ASSOCIATION_SPECIFIC dataset reference construction. The helper accesses uninitialized data in dataSetRef[130] as a source string, triggering a strlen overrun and copying the garbage bytes into the caller‑owned listName buffer. This flaw, a CWE‑125 out‑of‑bounds read combined with CWE‑457 use‑after‑uninitialization, can lead to stack corruption and a server crash, delivering a denial of service to the IEC 61850 server.

Affected Systems

All users of mz‑automation libIEC61850 before version 1.6.2 are vulnerable, but the flaw is exercised only when the dynamic dataset service is enabled and a dataset access handler is installed on the server. Systems that expose IEC 61850 through the defineNamedVariableList interface and receive externally supplied requests from the network are at risk. Industrial control or substation automation environments deploying earlier releases should verify whether these features are active and, if so, consider mitigation.

Risk and Exploitability

The flaw scores 8.2 on the CVSS base, placing it in the high‑severity range. The EPSS score is not publicly available, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed widespread exploitation. An attacker can trigger the crash by sending a malformed defineNamedVariableList message over the IEC 61850 port, so the attack vector is remote network. Given the high CVSS rating, the lack of mitigation in many deployments, and the potential for disruptive downtime, this vulnerability warrants immediate attention.

Generated by OpenCVE AI on October 16, 2026 at 19:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply libIEC61850 1.6.2 or later to fix the out‑of‑bounds read and stack corruption.
  • If upgrading cannot be performed immediately, disable the dynamic dataset service or remove dataset access handlers so that the vulnerable code path is never invoked.
  • Restrict external access to IEC 61850 ports using firewalls or VLAN segmentation to limit exposure to malicious traffic.

Generated by OpenCVE AI on October 16, 2026 at 19:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Mz-automation
Mz-automation libiec61850
Vendors & Products Mz-automation
Mz-automation libiec61850

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description 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, checkDataSetAccess reverses the source and destination arguments to StringUtils_copyStringToBuffer while constructing an MMS_ASSOCIATION_SPECIFIC dataset reference. The helper treats uninitialized dataSetRef[130] storage as a source string, causing strlen to read beyond the stack buffer, and then copies those bytes into the caller-owned listName buffer. A remote defineNamedVariableList request can crash servers that have dynamic dataset service enabled and a dataset access handler installed; the advisory also observes caller stack corruption but establishes denial of service as the primary impact. This issue is fixed in version 1.6.2.
Title libIEC61850: Server-side out-of-bounds stack read in association-specific dynamic dataset creation due to reversed StringUtils_copyStringToBuffer arguments
Weaknesses CWE-125
CWE-457
CWE-628
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Mz-automation Libiec61850
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T17:05:59.282Z

Reserved: 2026-07-31T21:04:04.040Z

Link: CVE-2026-68907

cve-icon Vulnrichment

Updated: 2026-10-16T16:32:11.811Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T16:20:00.960

Modified: 2026-10-16T20:04:29.760

Link: CVE-2026-68907

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T19:15:13Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-457

    Use of Uninitialized Variable

  • CWE-628

    Function Call with Incorrectly Specified Arguments