---
id: CVE-2026-68908
title: >-
  libIEC61850 is an open-source implementation of IEC 61850 client and server
  protocols including MMS, GOOSE, Sampled Values, and R-Session
summary: >-
  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
  repo…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-590
  - CWE-664
  - CWE-763
vendor: mz-automation
product: libiec61850
affected:
  - libiec61850 < 1.6.2
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:04:29.760'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68908'
references:
  - url: >-
      https://github.com/mz-automation/libiec61850/commit/5b2a69f44256b8548927d8afdd7ac5f5381abe1e
    label: security-advisories@github.com
  - url: 'https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/mz-automation/libiec61850/security/advisories/GHSA-7qg8-hm25-rv5v
    label: security-advisories@github.com
  - url: >-
      https://github.com/mz-automation/libiec61850/security/advisories/GHSA-7qg8-hm25-rv5v
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00451
epssPercentile: 0.3898
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-16T16:51:16.889294Z'
ingestedAt: '2026-10-16T17:24:46.895Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
