{
  "id": "CVE-2026-68907",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68907",
  "published_at": "2026-10-16T15:48:33.08Z",
  "title": "libIEC61850: Server-side out-of-bounds stack read in association-specific dynamic dataset creation due to reversed StringUtils_copyStringToBuffer arguments",
  "vendor": "mz-automation",
  "product": "libiec61850",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "libIEC61850 is an open-source implementation of IEC 61850 client and server protocols including MMS, GOOSE, Sampled Values, and R-Session. Prior to 1.6.2, checkDataSetAccess reverses the source and destination arguments to StringUtils_copyStringToBuffer while constructing an MMS_ASSOCIATION_SPECIFIC dataset reference. The helper treats uninitialized dataSetRef[130] storage as a source string, causing strlen to read beyond the stack buffer, and then copies those bytes into the caller-owned listName buffer. A remote defineNamedVariableList request can crash servers that have dynamic dataset service enabled and a dataset access handler installed; the advisory also observes caller stack corruption but establishes denial of service as the primary impact. This issue is fixed in version 1.6.2.",
  "cwe": "CWE-125",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mz-automation",
        "product": "libiec61850",
        "ranges": [
          "\u003c 1.6.2"
        ],
        "fixed_in": [
          "1.6.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libiec61850 to 1.6.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mz-automation/libiec61850/security/advisories/GHSA-7v2x-39mw-2979"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mz-automation/libiec61850/commit/062062daf4cb50c7aa76e01d6fb4d58fc9278a7d"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
