CVE-2020-15158
CVE-2020-15158 is a high-severity vulnerability in Mz-automation Libiec61850 with a CVSS 3.x base score of 7.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-191.
Key facts
- Severity: High (CVSS 3.x base score 7.7)
- CVSS v2: 7.5
- EPSS exploit prediction: 2% (79th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-191
- Affected product: Mz-automation Libiec61850
- Published:
- Last modified:
Description
In libIEC61850 before version 1.4.3, when a message with COTP message length field with value < 4 is received an integer underflow will happen leading to heap buffer overflow. This can cause an application crash or on some platforms even the execution of remote code. If your application is used in open networks or there are untrusted nodes in the network it is highly recommend to apply the patch. This was patched with commit 033ab5b. Users of version 1.4.x should upgrade to version 1.4.3 when available. As a workaround changes of commit 033ab5b can be applied to older versions.
Frequently asked questions
- What is CVE-2020-15158?
- In libIEC61850 before version 1.4.3, when a message with COTP message length field with value < 4 is received an integer underflow will happen leading to heap buffer overflow. This can cause an application crash or on some platforms even the execution of remote code. If your application is used in open networks or there are untrusted nodes in the network it is highly recommend to apply the patch. This was patched with commit 033ab5b. Users of version 1.4.x should upgrade to version 1.4.3 when available. As a workaround changes of commit 033ab5b can be applied to older versions.
- How severe is CVE-2020-15158?
- CVE-2020-15158 has a CVSS 3.x base score of 7.7, rated high severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability high.
- Is CVE-2020-15158 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (79th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-15158?
- CVE-2020-15158 affects Mz-automation Libiec61850. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2020-15158?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-15158 published?
- CVE-2020-15158 was published on 2020-08-26 and last updated on 2026-06-17.
References
- https://github.com/mz-automation/libiec61850/commit/033ab5b6488250c8c3b838f25a7cbc3e099230bb
- https://github.com/mz-automation/libiec61850/issues/250
- https://github.com/mz-automation/libiec61850/security/advisories/GHSA-pq77-fmf7-hjw8
Affected products (1)
- cpe:2.3:a:mz-automation:libiec61850:*:*:*:*:*:*:*:*
More vulnerabilities in Mz-automation Libiec61850
- CVE-2022-2972 — Critical (CVSS 10.0): MZ Automation's libIEC61850 (versions 1.4 and prior; version 1.5 prior to commit…
- CVE-2022-2970 — Critical (CVSS 10.0): MZ Automation's libIEC61850 (versions 1.4 and prior; version 1.5 prior to commit…
- CVE-2024-45971 — Critical (CVSS 9.8): Multiple Buffer overflows in the MMS Client in MZ Automation LibIEC61850 before commit…
- CVE-2024-45970 — Critical (CVSS 9.8): Multiple Buffer overflows in the MMS Client in MZ Automation LibIEC61850 before commit…
- CVE-2018-19185 — Critical (CVSS 9.8): An issue has been found in libIEC61850 v1.3. It is a heap-based buffer overflow in BerEncoder_encodeOctetString in…
- CVE-2018-18957 — Critical (CVSS 9.8): An issue has been found in libIEC61850 v1.3. It is a stack-based buffer overflow in prepareGooseBuffer in…
All CVEs affecting Mz-automation Libiec61850 →
Other CWE-191 (Integer Underflow) vulnerabilities
- CVE-2007-0063 — Critical (CVSS 10.0): Integer underflow in the DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build…
- CVE-2026-53176 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: IB/isert: Reject login PDUs shorter than…
- CVE-2026-37534 — Critical (CVSS 9.8): Integer underflow vulnerability in Open-SAE-J1939 thru commit b6caf884df46435e539b1ecbf92b6c29b345bdfe (2025-11-30) in…
- CVE-2025-52471 — Critical (CVSS 9.8): ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. An integer underflow vulnerability has been…
- CVE-2025-29909 — Critical (CVSS 9.8): CryptoLib provides a software-only solution using the CCSDS Space Data Link Security Protocol - Extended Procedures…
- CVE-2024-47606 — Critical (CVSS 9.8): GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in…