Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed IEC 61850/ACSE endpoint
-
ExploitSend malformed AARE PDU with truncated length
-
ImpactTrigger infinite CPU loop or process abort
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions beyond network reachability - remote unauthenticated exploitation against default configurations of libIEC61850 prior to 1.6.2, triggered during the normal ACSE association handshake before any authentication, by sending a malformed AARE PDU whose long-form length is truncated so BerDecoder_decodeLength returns a negative bufPos. The reliable outcome is CPU exhaustion (infinite loop) under a normal allocator; the process-abort variant is LIMITED to cases where the byte preceding the buffer lies in an inaccessible memory page, making that specific crash memory-layout dependent rather than guaranteed. Impact is confined to availability - no code execution, data disclosure, or integrity compromise. |
| Impact | All signals point to a genuine, patch-worthy denial-of-service issue rather than a hyped high-CVSS finding. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms a network-reachable, low-complexity, unauthenticated flaw with no user interaction, and impact is purely availability (VC:N/VI:N/VA:H) - consistent with the description's infinite CPU loop / process abort and with CWE-125 (out-of-bounds read). The vendor-published GitHub Security Advisory (GHSA-f7xm-q62q-22cx), the fixing commit, and the 1.6.2 release tag all corroborate the root cause and fix, so vendor confirmation is strong. However, no EPSS score, no CISA KEV listing, and no public exploit are present in the provided data, so there is no public exploit identified at time of analysis and no evidence of active exploitation; priority is driven by reachability and ease, not by observed attacks. One nuance to verify: the two outcomes differ in reliability - the infinite-CPU-loop DoS is reliable under a normal allocator, while the one-byte OOB read leading to process abort only occurs when the byte preceding the buffer is inaccessible, which is memory-layout dependent. Net: a real priority for OT/ICS operators exposing IEC 61850 endpoints, but it is a DoS (no confidentiality or integrity impact), so rank it below RCE-class issues. |
| Exploit ScenarioDerived | An unauthenticated attacker with network reachability to a libIEC61850 server or client (versions prior to 1.6.2) sends a malformed AARE PDU with a truncated long-form length during the ACSE association phase. The decoder swallows the negative-length error, reads buffer[-1], and restarts parsing on the same malformed state, pinning a CPU core in an infinite loop or, if the preceding byte is inaccessible, aborting the process. No public exploit was identified at time of analysis, but the attack requires only a single crafted packet (AV:N/AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Denial of service in mz-automation libIEC61850 prior to 1.6.2 allows an unauthenticated remote peer to exhaust CPU indefinitely by sending a malformed ACSE AARE PDU during association establishment. The bug is an out-of-bounds read (CWE-125) in parseUserInformation when a truncated long-form BER length makes BerDecoder_decodeLength return a negative position that is not validated, leading to a buffer[-1] access and a parse-reset loop; a process abort is possible only when the preceding byte lies on an inaccessible memory page, making that outcome memory-layout dependent. No public exploit code or active exploitation was identified at time of analysis, and the assessed impact is availability only (CVSS 3.1 7.5), not code execution or data disclosure.
RemediationAI
Upgrade to libIEC61850 1.6.2 or later; the vendor-released patch is version 1.6.2, covered by advisory GHSA-f7xm-q62q-22cx and commit 2edf2a12bf0ced6a2ac595862e3e873814983f7f at https://github.com/mz-automation/libiec61850/commit/2edf2a12bf0ced6a2ac595862e3e873814983f7f, with release notes at https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2. If immediate patching is not possible, restrict network access to the libIEC61850 MMS/ACSE service (typically TCP/102 for IEC 61850 MMS) to trusted hosts; this blocks the unauthenticated malformed-AARE path from untrusted networks but will break legitimate remote client access from outside the allowlist. There is no configuration option to disable only the vulnerable ACSE association parsing, since that path is required for normal MMS operation; disabling MMS/ACSE entirely would break the server or client functionality. CPU quotas or process supervision can limit the runaway loop impact but do not prevent CPU exhaustion within the constrained process. Also note that the process-abort variant is memory-layout dependent, so allocator or guard-page changes are not a reliable mitigation.
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 IEC 61850 stack implementing MMS, GOOSE, Sampled Values and R-Session, commonly used in substation automation and industrial control systems. The affected function parseUserInformation in src/mms/iso_acse/acse.c handles ACSE association user information; ACSE association setup precedes any MMS authentication. The CWE-125 root cause is improper validation of a length offset: for a truncated long-form BER length, BerDecoder_decodeLength returns a negative bufPos, but the code checks only len == 0 before continuing, so the negative offset is not rejected. The resulting path reads buffer[-1], resets parsing to the beginning, and repeats the same malformed state, producing the reliable infinite CPU loop under a normal allocator; the one-byte out-of-bounds read aborts the process only in the memory-layout-dependent case where the preceding byte is inaccessible. The CPE cpe:2.3:a:mz-automation:libiec61850:*:*:*:*:*:*:*:* captures the affected package. Consistent with the independent assessment, impact is availability-only: no code execution, data disclosure, or integrity compromise is demonstrated, and the supplied Information Disclosure tag is not supported by the assessed behavior. The supplied CVSS 4.0 vector scores 8.7 but likewise records only availability impact, while the independent CVSS 3.1 assessment is 7.5.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
A single malformed PDU sent pre-authentication over the network gives AV:N/AC:L/PR:N/UI:N; impact is availability-only DoS, so C:N/I:N/A:H with no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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, parseUserInformation in src/mms/iso_acse/acse.c checks len for zero before validating the negative bufPos returned by BerDecoder_decodeLength for a truncated long-form length. The continue path therefore swallows the error, reads buffer[-1], resets parsing to the beginning, and repeats the same malformed state. An unauthenticated remote peer can send a malformed AARE PDU during association to cause an infinite CPU loop under a normal allocator or a one-byte out-of-bounds read and process abort when the preceding byte is inaccessible. This issue is fixed in version 1.6.2.
Technical POC Analysis
Evidence base: GHSA-f7xm-q62q-22cx advisory only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A denial-of-service vulnerability in mz-automation's libIEC61850 - the open-source library embedded in many substation automation gateways, protection relays, and SCADA front-ends - allows a remote peer to consume CPU indefinitely on any device that accepts IEC 61850 association requests, with a process crash possible depending on memory layout. The consequence for the organization is loss of monitoring and control visibility over electrical substation operations, an availability and safety-of-operations concern rather than a data-breach or code-execution risk. No public exploit identified at time of analysis, and no vendor-released patch identified at time of analysis.
No vendor-released patch identified at time of analysis, so interim mitigations are required: restrict inbound TCP/102 to explicitly trusted IEC 61850 peers via firewall or ACL; segment OT zones so association traffic cannot cross trust boundaries; apply connection rate-limiting or throttling to blunt repeated association attempts; deploy IDS/IPS signatures for malformed ACSE AARE PDUs with truncated long-form BER lengths; monitor endpoint CPU and process restarts for sustained exhaustion or unexpected aborts; disable or block unneeded IEC 61850 services and external peer access; and pursue OEM/vendor fixed firmware as the durable remediation.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Libiec61850
View allAn issue has been found in libIEC61850 v1.3. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
An issue has been found in libIEC61850 v1.3. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
An issue has been found in libIEC61850 v1.3. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
MmsValue_decodeMmsData in mms/iso_mms/server/mms_access_result.c in libIEC61850 through 1.4.0 has a heap-based buffer ov
In libIEC61850 1.4.0, MmsValue_decodeMmsData in mms/iso_mms/server/mms_access_result.c has a heap-based buffer overflow.
In mz-automation libiec61850 v1.4.0, a NULL Pointer Dereference was detected in the mmsServer_handleFileCloseRequest.c f
An issue in mz-automation libiec61850 v.1.5.3 and before, allows a remote attacker to cause a denial of service (DoS) vi
libiec61850 v1.5.1 was discovered to contain a segmentation violation via the function ControlObjectClient_setOrigin() a
A denial of service vulnerability exists in the parseNormalModeParameters functionality of MZ Automation GmbH libiec6185
libIEC61850 through 1.3.3 has a use-after-free in MmsServer_waitReady in mms/iso_mms/server/mms_server.c, as demonstrate
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
An issue has been found in libIEC61850 v1.3.1. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitabl
EUVD-2026-102912
NVD
CVE.org
GitHub
Exploit-DB