{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "6ba363bd4a4803dfb194733a9729ad421d6b49f0"
            }
          ],
          "repo": "https://github.com/mz-automation/libiec61850",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue has been found in libIEC61850 v1.3. It is a heap-based buffer overflow in BerEncoder_encodeOctetString in mms/asn1/ber_encoder.c. This is exploitable even after CVE-2018-18834 has been patched, with a different dataSetValue sequence than the CVE-2018-18834 attack vector.",
  "id": "CVE-2018-19185",
  "modified": "2026-03-13T21:55:11.187473588Z",
  "published": "2018-11-12T05:29:00.230Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/fouzhe/security/tree/master/libiec61850#another-heap-buffer-overflow-in-function-berencoder_encodeoctetstring"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/mz-automation/libiec61850/issues/87"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}