{"id":"CVE-2026-57446","aliases":["CVE-2026-57446"],"related":[],"kind":"vulnerability","state":"published","title":"libIEC61850: Server-side double free in MMS ObtainFile task reuse due to stale FILE* handle","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-16T15:46:33.549Z","modified":"2026-10-28T19:17:36.520Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-415","CWE-664","CWE-672"],"affected":[{"ranges":[{"version":">= 1.6.1, < 1.6.2","status":"affected"}],"vendor":"mz-automation","product":"libiec61850","source":"cvelist"}],"references":[{"url":"https://github.com/mz-automation/libiec61850/security/advisories/GHSA-cxgr-7v9h-fj9p","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mz-automation/libiec61850/commit/d86b4a9c7a903641819235e1678b18901518f3cd","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-10-28T18:23:43.634Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57446","url":"https://www.cve.org/CVERecord?id=CVE-2026-57446","licence":"CVE Terms of Use","modified":"2026-10-28T18:23:51.341Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57446","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57446","licence":"Public domain","modified":"2026-10-28T19:17:36.520Z"}],"updatedAt":"2026-11-25T22:59:45.063Z","epss":{"score":0.00401,"percentile":0.3645,"date":"2026-12-01T12:00:22.000Z"}}