CVE-2022-2970 is a stack buffer overflow in libIEC61850, MZ Automation's open-source library for the IEC 61850 substation protocol stack. Versions 1.4 and earlier, and 1.5 before the fix commit, copy unchecked input with memcpy, so a remote peer could crash the device or run code on it. NVD scores it 9.8 and CISA 10.0. Device makers must rebuild with a fixed release.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
1.5%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2022-2970 · Source: NVD

Affected components
| Component | CPE | Version range |
|---|---|---|
| MZ Automation libIEC61850 (IEC 61850 protocol library) | cpe:2.3:a:mz-automation:libiec61850:*:*:*:*:*:*:*:* | 1.4 and earlier; 1.5 before commit a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e (NVD CPE: before 1.5.0); fix: latest release (v1.5.3 is the earliest tag containing the fix) |
What does this mean for affected devices?
The CVE record from CISA says libIEC61850 "(versions 1.4 and prior; version 1.5 prior to commit a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e) does not sanitize input before memcpy is used, which could allow an attacker to crash the device or remotely execute arbitrary code." NVD's Primary score is 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-787, out-of-bounds write. CISA, the CNA, scores it 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H), counting a scope change, with CWE-121, stack-based buffer overflow. NVD's CPE covers versions before 1.5.0, narrower than CISA's 1.5 range (NVD, CVE record).
What is affected?
CISA's ICSA-22-251-01, released on 2022-09-08, covers libIEC61850 1.4 and earlier and 1.5 builds before the fix commit. Its README describes an open-source C implementation of IEC 61850 client and server protocols (MMS, GOOSE, SV), so the affected party is often the maker of a device or application that embeds it. CISA lists the Energy sector, worldwide deployment and a German headquarters. Vera Mens of Claroty Research reported it.
The advisory has two more CVEs: CVE-2022-2972, a second stack overflow that crashes the server (8.6), and CVE-2022-2973, a NULL pointer dereference (8.6).
How do you fix CVE-2022-2970?
MZ Automation recommends updating to the latest version from its GitHub repository. The fix commit CISA names dates from 2022-08-22. In the GitHub release list, v1.5.1 (2022-03-11) predates it and v1.5.3 (2023-12-18) is the earliest tagged release that contains it; the current release as of 2026-11-27 is v1.6.2.1 (2026-09-24). Owners of IEC 61850 devices cannot patch the library themselves: ask the device maker which libIEC61850 version its firmware uses. Until then, allow MMS connections only from known clients in the station network.
Other IEC 61850 implementation flaws on this site are CVE-2021-27196 in Hitachi ABB Power Grids devices and CVE-2015-6574 in SISCO MMS-EASE. The memory corruption fix guide covers bounds checks before memcpy, and the IEC 61850 protocol security guide covers MMS and GOOSE exposure.
Is CVE-2022-2970 exploited?
CVE-2022-2970 is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS gives it 0.01509, percentile 74.70, in the 2026-11-26 dataset (CISA KEV, FIRST EPSS).


Evidence
- NVD (read 2026-11-27): status Modified; published 2022-09-23; NVD Primary CVSS v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; ICS-CERT Secondary 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H; CWE-787 (NVD), CWE-121 (ICS-CERT); CPE mz-automation libiec61850 before 1.5.0. — NVD
- CISA ICSA-22-251-01 CSAF (released 2022-09-08, read 2026-11-27): libIEC61850 <= 1.4 and 1.5 before commit a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e; CVE-2022-2970 CWE-121 10.0, CVE-2022-2972 CWE-121 8.6, CVE-2022-2973 CWE-476 8.6; fix: update to the latest version from github.com/mz-automation/libiec61850; Energy, worldwide, Germany; reported by Vera Mens (Claroty Research). — CISA ICSA-22-251-01
- GitHub API and README (read 2026-11-27): README: open-source C client/server library for MMS, GOOSE, SV; commit a3b04b7 dated 2022-08-22; compare to v1.5.1 = behind (not included), to v1.5.3 = ahead (included); releases v1.5.1 2022-03-11, v1.5.3 2023-12-18, v1.6.2.1 2026-09-24. — GitHub mz-automation/libiec61850
- CVE record (checked 2026-11-27): PUBLISHED, CNA ICS-CERT, CNA CVSS v3.1 10.0; affected libIEC61850 <= 1.4 and Version 1.5 before the commit. — CVE.org
- Not in the CISA KEV catalog, catalog version 2026.11.25, 1,805 entries, checked 2026-11-27. — CISA KEV
- EPSS 0.01509, percentile 0.74698, dataset 2026-11-26, read 2026-11-27. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which libIEC61850 version fixes CVE-2022-2970?
CISA names a 1.5 fix commit and recommends the latest version. On GitHub, v1.5.3 (2023-12-18) is the earliest tagged release that contains that commit; the current release as of 2026-11-27 is v1.6.2.1.
I run IEC 61850 devices, not the library. What do I do?
Ask each device maker whether its firmware embeds libIEC61850 and which version, and install the vendor's fixed firmware. Meanwhile allow MMS connections only from known clients inside the station network.
Why does CISA say 10.0 and NVD 9.8?
CISA, the CNA, scores a scope change (S:C), giving 10.0. NVD's Primary vector keeps the scope unchanged, giving 9.8.
Is CVE-2022-2970 in the CISA KEV catalog?
No, not as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS rates it 0.01509 (percentile 74.70) in the 2026-11-26 dataset.
Questions about this page?