{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.3.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "edc093e810f375bc1de04511592c09e01fb76e82"
            }
          ],
          "repo": "https://github.com/mz-automation/libiec61850",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue has been found in libIEC61850 v1.3.1. Memory_malloc and Memory_calloc in hal/memory/lib_memory.c have memory leaks when called from mms/iso_mms/common/mms_value.c, server/mms_mapping/mms_mapping.c, and server/mms_mapping/mms_sv.c (via common/string_utilities.c), as demonstrated by iec61850_9_2_LE_example.c.",
  "id": "CVE-2019-6138",
  "modified": "2026-03-13T21:51:26.852368779Z",
  "published": "2019-01-11T17:29:00.430Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/mz-automation/libiec61850/issues/103"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}