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.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/mz-automation/libiec61850/security/advisories/GHSA-pq77-fmf7-hjw8
Third Party Advisory x_refsource_misc
https://github.com/mz-automation/libiec61850/issues/250
Patch, Third Party Advisory x_refsource_misc
https://github.com/mz-automation/libiec61850/commit/033ab5b6488250c8c3b838f25a7cbc3e099230bb
Scores
CVSS v3
7.7
EPSS
0.0238
EPSS Percentile
85.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
Details
CWE
CWE-119
CWE-191
CWE-122
Status
published
Products (1)
mz-automation/libiec61850
1.4.0 - 1.4.3
Published
Aug 26, 2020
Tracked Since
Feb 18, 2026