CVE-2020-15158
published high CVSS 3.1 · 7.7Heap buffer overflow in libIEC61850
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mz-automation | — | libiec61850< 1.4.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mz-automation | libiec61850 | < 1.4.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-119 CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-122 CWE-122: Heap-based Buffer Overflow
References
3Provider assertions
2GitHub_M · cna
Heap buffer overflow in libIEC61850
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 48c7dde49a433b546176a8c11034ffe5f28ffd9e69ebe40a41ea3a7079726df9
- Ingested
- 23 Sep 2026, 07:48:45 UTC
- Source record
- Official CVE record