{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "083dc8ecc222b0e07a04721075134ee7836ca6af"
            }
          ],
          "repo": "https://github.com/mz-automation/lib60870",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67873.json"
  },
  "details": "A heap-based buffer overflow exists in lib60870-C 2.4.0 in the server-side FileSegment ASDU encoding path. The issue occurs because FileSegment_encode() validates only the standalone segment length via FileSegment_GetMaxDataSize() and does not verify the residual capacity of the current ASDU frame before encoding object fields and segment data",
  "id": "CVE-2026-67873",
  "modified": "2026-08-08T03:30:29.066243883Z",
  "published": "2026-08-05T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mz-automation/lib60870/blob/master/user_guide.adoc"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mz-automation/lib60870/releases/tag/v2.4.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67873.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-67873"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mz-automation/lib60870/issues/201"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mz-automation/lib60870"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}