Skip to main content

libiec61850 EUVDEUVD-2026-54260

| CVE-2026-19108 LOW
Buffer Overflow (CWE-119)
2026-08-06 cna@vuldb.com GHSA-c2h4-j5j4-67wf
1.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Gain local OS access (low privilege)
  2. Delivery
    Connect to IEC 61850 MMS server
  3. Exploit
    Create dynamic dataset and bind to URCB
  4. Execution
    Initiate MMS connection teardown during revalidation
  5. Persist
    Trigger use-after-free in shadow buffer deletion
  6. Impact
    Crash server process or corrupt heap

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a local account (physical or shell access) on the machine hosting the IEC 61850 MMS server process; remote network exploitation is not possible per AV:L. The attacker must hold at least low OS-level privileges (PR:L) - anonymous or pre-authentication exploitation is not possible. The vulnerable code path is only reachable when the server is compiled with IEC 61850 MMS server support and URCB reporting is active. The race condition is triggered specifically during MMS connection teardown while a dynamic dataset associated with a URCB is undergoing revalidation. Environments where dynamic dataset creation is disabled or where URCB reporting is not in use are not exposed to this specific path. Limiting factors: local-only vector significantly constrains attacker reach; OT devices typically have tightly controlled physical and logical access, reducing realistic attacker surface compared to an enterprise IT environment.

Impact

Despite the use-after-free class - which can theoretically lead to arbitrary code execution - multiple signals converge on a contained risk profile. The CVSS 4.0 score of 1.9 reflects AV:L (local-only attack vector) and PR:L (low privileges required), meaning remote exploitation is not possible. The E:P modifier in the provided CVSS 4.0 vector (E:P) confirms public exploit code exists, elevating practical risk above a purely theoretical flaw. However, CISA KEV status is absent, and EPSS data is not provided - exploitation appears non-widespread. The C/I/A impacts are each rated Low in the CVSS 4.0 vector, consistent with a crash or limited memory corruption rather than full system compromise. The vendor-supplied tags ('Buffer Overflow', 'Denial of Service') suggest the primary impact in practice is availability. The combination of local access requirement, low-privilege prerequisite, and no KEV listing places this firmly in the 'patch when feasible, not emergency response' tier for most deployments - though ICS/OT environments where availability is safety-critical should treat it with elevated urgency.

Exploit ScenarioDerived

A local user with low-privileged OS access on a system running an IEC 61850 MMS server built against libiec61850 1.6.0 or 1.6.1 connects to the server process, creates a dynamic dataset, associates it with a URCB instance, then deliberately closes the MMS connection while dataset revalidation is in progress - causing deleteDataSetValuesShadowBuffer to iterate over a freed or nulled dataSet pointer. A proof-of-concept zip is publicly available at https://github.com/user-attachments/files/29163236/POC.zip, lowering the skill bar for exploitation. In practice, impact is most likely a server crash (DoS), though a carefully timed race could theoretically enable heap memory manipulation.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 06, 2026

Use-after-free in MZ Automation libiec61850 up to version 1.6.1 allows a local low-privileged attacker to corrupt memory through the URCB (Unbuffered Report Control Block) dataset shadow buffer deletion path. The vulnerability exists in deleteDataSetValuesShadowBuffer within reporting.c, where the function dereferenced self->dataSet to compute its size after that pointer could already have been freed or set to NULL during connection teardown. A publicly available proof-of-concept exists, though no active exploitation has been confirmed via CISA KEV. The fix, released in v1.6.2 (commit 486fd57f), stores buffer size independently and adds semaphore locking to prevent the race.

RemediationAI

Upgrade libiec61850 to version 1.6.2, which contains the confirmed fix at commit 486fd57f3aed65bb9d636ff00f9ddce2e450b268, available at https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2. The patched release is available upstream; organizations embedding libiec61850 in OT devices or SCADA middleware must rebuild and redeploy dependent applications after updating the library. For environments where immediate patching is not possible, a targeted compensating control is to restrict local shell access to accounts that interact with the MMS server process, reducing the pool of potential exploiters since PR:L is required. Disabling dynamic dataset creation (if the application permits) eliminates the specific code path triggering the use-after-free, but this trades off reporting flexibility and may break legitimate IEC 61850 client functionality. No additional network-layer mitigations are applicable given the AV:L vector.

Affected VersionsENISA

libiec61850 1.6.1
libiec61850 1.6.0

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 is an open-source C library implementing the IEC 61850 standard for substation automation and power grid communication, maintained by MZ Automation. The vulnerability resides in the URCB (Unbuffered Report Control Block) revalidation logic in src/iec61850/server/mms_mapping/reporting.c. The deleteDataSetValuesShadowBuffer function previously called DataSet_getSize(self->dataSet) to iterate over buffered values, but self->dataSet could already be NULL or freed by the time the function executed - particularly during MMS connection teardown when dynamic datasets are deleted. The commit diff confirms the fix: a new bufferedDataSetValuesSize field is added to the ReportControl struct, decoupling the iteration count from the live dataset pointer. Additionally, rcbValuesLock semaphore guards are added around dataset access in mms_mapping.c, and a NULL guard is inserted in MmsMapping_getDomainSpecificDataSet. CWE-119 (Improper Restriction of Operations within Bounds of a Memory Buffer) is the assigned class; CWE-416 (Use After Free) is the more precise sub-type based on the actual code behavior.

Know when the next one hits your stack

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

Local-only vector with low-privilege requirement; limited C/I/A impact consistent with use-after-free leading primarily to crash or constrained heap corruption.

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

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

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

DescriptionCVE.org

A vulnerability was found in MZ Automation libiec61850 up to 1.6.1. The affected element is the function deleteDataSetValuesShadowBuffer of the file src/iec61850/server/mms_mapping/reporting.c of the component URCB Revalidation. The manipulation results in use after free. The attack needs to be approached locally. The exploit has been made public and could be used. Upgrading to version 1.6.2 is sufficient to fix this issue. The patch is identified as 486fd57f3aed65bb9d636ff00f9ddce2e450b168. Upgrading the affected component is advised.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
widely used open-source IEC 61850 library in OT/ICS and power substation deployments
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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

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