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% (81st 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% (81st 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-101980 — Critical (CVSS 9.8): An Integer Underflow vulnerability in the kernel of Juniper Networks Junos OS with Extended Echo configured allows an…
- CVE-2026-83869 — Critical (CVSS 9.8): Integer underflow (wrap or wraparound) in DNS Server allows an unauthorized attacker to execute code over a network.
- CVE-2026-84411 — Critical (CVSS 9.8): The web management service in affected RouterOS versions contains an integer underflow in its HTTP request body…
- CVE-2026-91103 — Critical (CVSS 9.8): HP has identified and remediated multiple externally reported vulnerabilities within HPLIP. The findings affect several…
- CVE-2026-68123 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: openvswitch: fix GSO userspace truncation…