Vulnerability · Published Oct 16, 2026 · Assigned by GitHub_M
CVE-2026-57446libIEC61850: Server-side double free in MMS ObtainFile task reuse due to stale FILE* handle
Medium 5.3
In plain English
A medium-severity double free in libiec61850 from mz-automation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).
Official description
libIEC61850 is an open-source implementation of IEC 61850 client and server protocols including MMS, GOOSE, Sampled Values, and R-Session. From 1.6.1 until 1.6.2, a successful MMS ObtainFile operation closes MmsObtainFileTask::fileHandle but leaves the stale non-NULL value in a task marked MMS_FILE_UPLOAD_STATE_NOT_USED. If a later ObtainFile request reuses that task and destination creation fails, MMS_FILE_UPLOAD_STATE_SEND_OBTAIN_FILE_ERROR_DESTINATION cleanup closes the stale FILE object again. Servers with the MMS file service and ObtainFile enabled can therefore be crashed remotely by the success-then-failure request sequence. This issue is fixed in version 1.6.2.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mz-automation | libiec61850 | >= 1.6.1, < 1.6.2 |
Weakness: CWE-415, CWE-664, CWE-672 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L