{"id":"CVE-2026-57446","published":"2026-10-16T15:46:33Z","modified":"2026-10-28T18:23:51Z","title":"libIEC61850: Server-side double free in MMS ObtainFile task reuse due to stale FILE* handle","vendor":"mz-automation","product":"libiec61850","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00401,"percentile":0.35217,"provenance":"source"},"cwes":[{"id":"CWE-415","name":"Double Free"},{"id":"CWE-664","name":"Improper Control of a Resource Through its Lifetime"},{"id":"CWE-672","name":"Operation on a Resource after Expiration or Release"}],"references":[{"url":"https://github.com/mz-automation/libiec61850/security/advisories/GHSA-cxgr-7v9h-fj9p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mz-automation/libiec61850/commit/d86b4a9c7a903641819235e1678b18901518f3cd","tags":["x_refsource_MISC"]},{"url":"https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.04},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"mz-automation","affectedVersions":[{"vendor":"mz-automation","product":"libiec61850","versions":[">= 1.6.1, < 1.6.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-28T18:23:43.634635Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-102909","exploited":false,"provenance":"source"}}