{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.6.1"
              },
              {
                "fixed": "1.6.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "a13961110b8238d2d8ea577c1fb7592ba3017ad8"
            },
            {
              "fixed": "f0f797bf955da763353f7081c892a1ff6b55e5a1"
            }
          ],
          "repo": "https://github.com/mz-automation/libiec61850",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cxgr-7v9h-fj9p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-415",
      "CWE-664",
      "CWE-672"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57446.json"
  },
  "details": "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.",
  "id": "CVE-2026-57446",
  "modified": "2026-10-17T02:30:34.165200378Z",
  "published": "2026-10-16T15:46:33.549Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57446.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mz-automation/libiec61850/commit/d86b4a9c7a903641819235e1678b18901518f3cd"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mz-automation/libiec61850/security/advisories/GHSA-cxgr-7v9h-fj9p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57446"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libIEC61850: Server-side double free in MMS ObtainFile task reuse due to stale FILE* handle"
}