Skip to main content

libIEC61850 EUVDEUVD-2026-102910

| CVE-2026-68908 MEDIUM
Free of Memory not on the Heap (CWE-590)
2026-10-16 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach MMS server on OT network
  2. Delivery
    Open client association
  3. Exploit
    Write RptID exceeding 129 bytes
  4. Execution
    Trigger General Interrogation
  5. Persist
    Report serialization frees stack buffer
  6. Impact
    Server process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Free memory management
Exploitation Conditions

Requires a reachable libIEC61850-based MMS server (version prior to 1.6.2) with reporting/report-control-blocks in use, and the ability to establish a client association and perform a write to a report control block's RptID attribute with a value longer than 129 bytes, followed by generating a report via General Interrogation (GI) to reach the vulnerable sendNextReportEntrySegment serialization. Limiting factors: exploitation depends on the reporting feature being exercised (GI-triggered serialization), the server being accessible on the network/OT segment, and the client being permitted to write the RCB; impact is confined to a server crash (availability only), with no code execution, data disclosure, or integrity effect.

Impact

This is a genuine but limited-severity denial-of-service issue, not a top-tier priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, base 5.3) indicates a remotely reachable, low-complexity bug with no confidentiality or integrity impact and only partial availability impact - consistent with CWE-590 (free of memory not on the heap), which here manifests as an invalid free that crashes the server process. No EPSS score, CISA KEV entry, or public POC is present in the provided intelligence, so there is no public exploit identified at time of analysis and no evidence of active exploitation. One signal to verify: the CVSS vector asserts PR:N (unauthenticated), but the description situates the flaw in the report-control-block write path, which in IEC 61850/MMS deployments normally requires an established client association - in hardened OT environments access may be network-restricted even if the protocol itself does not authenticate, so the practical attacker must already reach the MMS server on the substation network. The real-world risk is therefore moderate-to-low: a straightforward crash primitive, but confined to a niche ICS library, availability-only, with no code execution or data exposure.

Exploit ScenarioDerived

An attacker with network reach to an MMS server built on libIEC61850 (<1.6.2) opens a client association and writes a report-control-block RptID value longer than 129 bytes, which the vulnerable Reporting_RCBWriteAccessHandler accepts. The attacker then triggers a General Interrogation so sendNextReportEntrySegment serializes the report, causing MmsValue_setVisibleString's resize path to free a stack-backed buffer (CWE-590) and crash the server. No public POC is identified, though the fixing commit diff publicly reveals the exact precondition (RptID > 129 bytes).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 16, 2026

Remote, unauthenticated clients can crash libIEC61850-based MMS servers running versions prior to 1.6.2 by writing an RptID value longer than 129 bytes to a report control block and then triggering report serialization via General Interrogation (GI). The oversized identifier overflows a fixed 130-byte stack buffer that is later wrapped as a temporary MmsValue and handed to MmsValue_setVisibleString, whose resize path attempts to free non-heap (stack) memory - an invalid free that terminates the server process. Impact is availability-only (CVSS 5.3, A:L) with no code execution, data disclosure, or integrity effect, and no public exploit has been identified at time of analysis; the issue is fixed in upstream version 1.6.2.

RemediationAI

Upgrade to libIEC61850 1.6.2 or later, the vendor-released fix (https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2), which contains commit 5b2a69f44256b8548927d8afdd7ac5f5381abe1e enforcing a 129-byte maximum on RptID both at RCB write time (rejecting with DATA_ACCESS_ERROR_OBJECT_VALUE_INVALID) and at serialization time; downstream integrators who vendor the library should cherry-pick that commit if a full upgrade is not immediately possible. If patching must be deferred, the practical compensating control is to restrict who can reach the MMS endpoint: segment the OT network and firewall TCP/102 (MMS over ISO-on-TCP) so only known engineering or SCADA clients can establish associations, and enforce IEC 61850 access-control/RCB write permissions so untrusted or read-only clients cannot modify RptID - the trade-off is that tightening these rules can break legitimate engineering-tool integrations and client-side reporting configuration. Disabling or not configuring report control blocks on exposed servers removes the vulnerable code path entirely, at the cost of losing buffered and unbuffered reporting functionality; monitoring client associations for RCB writes with abnormally long RptID values gives a further detection layer but does not prevent the crash. Because the impact is a server process abort rather than code execution, restart supervision/watchdog and failover arrangements limit the outage window in the interim.

Affected VersionsENISA

libiec61850 < 1.6.2

Affected Packages

euvd libiec61850 fix: 1.6.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libIEC61850 (MZ Automation) is an open-source C implementation of the IEC 61850 stack, covering MMS client/server, GOOSE, Sampled Values, and R-Session used widely in substation automation and OT environments. The defect is classified CWE-590 (Free of Memory not on the Heap) and lives in src/iec61850/server/mms_mapping/reporting.c. Reporting_RCBWriteAccessHandler validates writes to report control block (RCB) attributes but prior to 1.6.2 performed no length check on the RptID string, so a value exceeding 129 bytes is accepted into a stack-allocated rptIdBuf[130]. Later, when GI drives sendNextReportEntrySegment to serialize the report, that stack buffer is wrapped as a temporary MmsValue and passed to MmsValue_setVisibleString; the setter's resize path treats the embedded pointer as heap-allocated and frees it, producing an invalid free on stack memory and aborting the process. The upstream patch (commit 5b2a69f44256b8548927d8afdd7ac5f5381abe1e) adds an explicit >129-byte rejection in Reporting_RCBWriteAccessHandler returning DATA_ACCESS_ERROR_OBJECT_VALUE_INVALID, and hardens sendNextReportEntrySegment with an identical length guard so oversized stored identifiers can never reach the serializer. Note that the RCB write path itself requires the reporting feature to be configured and the client to be permitted to write the RCB, so exposure is limited to deployments where reporting is actively used and the MMS service is reachable.

Know when Libiec61850 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Remotely reachable MMS write with no special privileges in the default protocol (PR:N, AV:N, AC:L); invalid free crashes only the server process, so availability-only A:L with C:N/I:N and unchanged scope.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Oct 16, 2026 - 17:17 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
Low
niche open-source IEC 61850 substation-automation library, industry-specific ICS use
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2018-19185 CRITICAL POC
9.8 Nov 12

An issue has been found in libIEC61850 v1.3. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2018-18957 CRITICAL POC
9.8 Nov 05

An issue has been found in libIEC61850 v1.3. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2018-18834 CRITICAL POC
9.8 Oct 30

An issue has been found in libIEC61850 v1.3. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2020-7054 HIGH POC
8.8 Jan 14

MmsValue_decodeMmsData in mms/iso_mms/server/mms_access_result.c in libIEC61850 through 1.4.0 has a heap-based buffer ov

CVE-2019-19931 HIGH POC
8.8 Dec 23

In libIEC61850 1.4.0, MmsValue_decodeMmsData in mms/iso_mms/server/mms_access_result.c has a heap-based buffer overflow.

CVE-2024-28286 HIGH POC
7.5 Mar 21

In mz-automation libiec61850 v1.4.0, a NULL Pointer Dereference was detected in the mmsServer_handleFileCloseRequest.c f

CVE-2024-26529 HIGH POC
7.5 Mar 13

An issue in mz-automation libiec61850 v.1.5.3 and before, allows a remote attacker to cause a denial of service (DoS) vi

CVE-2023-27772 HIGH POC
7.5 Apr 13

libiec61850 v1.5.1 was discovered to contain a segmentation violation via the function ControlObjectClient_setOrigin() a

CVE-2022-21159 HIGH POC
7.5 Apr 15

A denial of service vulnerability exists in the parseNormalModeParameters functionality of MZ Automation GmbH libiec6185

CVE-2019-16510 HIGH POC
7.5 Sep 19

libIEC61850 through 1.3.3 has a use-after-free in MmsServer_waitReady in mms/iso_mms/server/mms_server.c, as demonstrate

CVE-2019-1010300 HIGH POC
7.5 Jul 15

mz-automation libiec61850 1.3.2 1.3.1 1.3.0 is affected by: Buffer Overflow. Rated high severity (CVSS 7.5), this vulner

CVE-2019-6719 HIGH POC
7.5 Jan 23

An issue has been found in libIEC61850 v1.3.1. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitabl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy