Skip to main content

libiec61850 EUVDEUVD-2026-52017

| CVE-2026-18582 MEDIUM
Free of Memory not on the Heap (CWE-590)
2026-08-03 VulDB GHSA-vj8r-wqrg-59qf
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Establish TCP connection to MMS server port 102
  2. Delivery
    Send MMS Write request targeting Report Control Block RptID attribute
  3. Exploit
    Supply RptID string exceeding 129 characters
  4. Execution
    Reporting_RCBWriteAccessHandler calls free() on non-heap pointer
  5. Impact
    IEC 61850 server process crashes

Vulnerability Assessment

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

The targeted host must run an IEC 61850 MMS server built with libiec61850 1.6.0 or 1.6.1 and must be reachable on its MMS port (typically TCP 102). The IEC 61850 reporting subsystem - specifically Report Control Blocks - must be instantiated and accessible to connecting MMS clients; this is a standard, default-enabled feature of IEC 61850 server implementations and is not a non-default configuration. Based on the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N), no client authentication, elevated privileges, special attack requirements, or user interaction are needed beyond raw TCP connectivity to the service. Exploitation is bounded to availability impact (server process crash); no confidentiality or integrity impact is indicated by the CVSS vector. The primary limiting factor is network segmentation: IEC 61850 deployments in correctly air-gapped or firewall-restricted substations reduce the pool of potential attackers to those with access to the OT network segment.

Impact

The CVSS 4.0 base score of 6.9 (Medium) reflects a fully network-exploitable, unauthenticated vulnerability with no attack complexity or special conditions, but with only Low vulnerable-system availability impact (VA:L) and no confidentiality or integrity exposure. The E:P supplemental metric independently confirms a public proof-of-concept exists, meaningfully increasing real-world exploitation likelihood beyond what the base score implies. EPSS data was not supplied in the input intelligence, so exploitation probability cannot be quantified numerically. KEV status is absent - active exploitation is not confirmed, and CISA has not listed this CVE. Despite the moderate base score, risk should be assessed as elevated in OT/ICS deployments: IEC 61850 MMS servers in electrical substations represent safety-critical infrastructure where repeated service crashes carry operational consequences disproportionate to a Low CVSS availability rating. The 'Information Disclosure' tag in the source intelligence is inconsistent with the CVSS impact vector showing VC:N - this discrepancy is unresolved in available data and should be verified with the vendor before ruling out a secondary confidentiality vector. The lack of authentication requirements (PR:N) combined with a simple crafted-string attack makes this straightforward to exploit at scale.

Exploit ScenarioDerived

An attacker with TCP network access to port 102 on a host running an unpatched libiec61850-based IEC 61850 server sends a crafted MMS Write request to a Report Control Block, setting the RptID attribute to a string exceeding 129 characters. The Reporting_RCBWriteAccessHandler processes the oversized string and subsequently calls free() on a non-heap pointer, causing an immediate server process crash. A public proof-of-concept demonstrating this crash is available at https://github.com/gff-cw/information/issues/2, requiring no special tooling beyond a basic MMS client library.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 03, 2026

Remote unauthenticated crash in mz-automation libiec61850 1.6.0-1.6.1 allows a network attacker to terminate an IEC 61850 MMS server by supplying an oversized Report ID string to the Report Control Block write handler, triggering a free of non-heap memory (CWE-590). No authentication or user interaction is required per the CVSS 4.0 vector (PR:N/UI:N/AV:N), and a public proof-of-concept exploit exists at the referenced GitHub issue. Active exploitation has not been confirmed by CISA KEV, but the combination of a public PoC and trivial exploitation path elevates practical risk in operational technology environments where IEC 61850 server continuity is safety-critical.

RemediationAI

Vendor-released patch: libiec61850 v1.6.2, available at https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2 with the specific fix commit 5b2a69f44256b8548927d8afdd7ac5f5381abe1e at https://github.com/mz-automation/libiec61850/commit/5b2a69f44256b8548927d8afdd7ac5f5381abe1e. Upgrade to v1.6.2 is the definitive remediation. For deployments where an immediate library upgrade and recompilation is not feasible, restrict inbound MMS traffic (typically TCP port 102) to known, trusted MMS client IP addresses via firewall ACLs - this reduces the attack surface to compromised or malicious internal clients only, but does not eliminate risk. In substation or critical infrastructure contexts, enabling out-of-band process supervision (watchdog timers, systemd service restart policies) can reduce the operational impact of a crash while a patched build is prepared, though this is a resilience measure, not a security fix. Third-party product vendors embedding libiec61850 should release updated firmware or software builds incorporating v1.6.2.

Affected VersionsENISA

libiec61850 1.6.0
libiec61850 1.6.1

Affected Packages

euvd libiec61850 no fix

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 (CPE: cpe:2.3:a:mz-automation:libiec61850:*:*:*:*:*:*:*:*) is an open-source C library implementing the IEC 61850 protocol suite - the international standard governing communication between intelligent electronic devices in electrical substations and power automation systems. The vulnerability is in src/iec61850/server/mms_mapping/reporting.c within the Reporting_RCBWriteAccessHandler function, which processes MMS (Manufacturing Message Specification) Write requests targeting Report Control Block (RCB) attributes such as RptID. CWE-590 (Free of Memory Not on the Heap) indicates that the code attempted to free a pointer that does not reference heap-allocated memory - characteristic of freeing a stack buffer or a pointer into a static or literal segment - triggering undefined behavior and typically an immediate process abort. The patch (commit 5b2a69f44256b8548927d8afdd7ac5f5381abe1e) adds an explicit length guard before processing: if MmsValue_getStringSize(value) exceeds 129 characters, the handler returns DATA_ACCESS_ERROR_OBJECT_VALUE_INVALID and exits early. A companion check was added in sendNextReportEntrySegment to reject oversized RptID strings during report transmission, closing a related code path.

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 (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Network-reachable unauthenticated vector with no complexity; impact is restricted to a service crash with no confidentiality or integrity exposure, warranting A:L.

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 (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 03, 2026 - 02:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 03, 2026 - 01:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

A security flaw has been discovered in mz-automation libiec61850 up to 1.6.1. This vulnerability affects the function Reporting_RCBWriteAccessHandler of the file src/iec61850/server/mms_mapping/reporting.c of the component Report Sending Path Handler. The manipulation results in free of memory not on the heap. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 1.6.2 is able to resolve this issue. The patch is identified as 5b2a69f44256b8548927d8afdd7ac5f5381abe1e. It is suggested to upgrade the affected component. The vendor was contacted early about this disclosure.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
open-source IEC 61850 C library, specialized OT/substation sector only
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 Yes
EPSS 0.5%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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