Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local OS access (low privilege)
-
DeliveryConnect to IEC 61850 MMS server
-
ExploitCreate dynamic dataset and bind to URCB
-
ExecutionInitiate MMS connection teardown during revalidation
-
PersistTrigger use-after-free in shadow buffer deletion
-
ImpactCrash 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-54260
GHSA-c2h4-j5j4-67wf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB