{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mz-automation:libiec61850:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.5.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fcefc746fea286aeaa40d2f62240216da81c85e5"
            }
          ],
          "repo": "https://github.com/mz-automation/libiec61850",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "icscert",
    "cwe_ids": [
      "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2972.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "All"
          },
          {
            "last_affected": "1.4"
          },
          {
            "introduced": "Version 1.5"
          },
          {
            "fixed": "Commit: a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "MZ Automation's libIEC61850 (versions 1.4 and prior; version 1.5 prior to commit a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e) is vulnerable to a stack-based buffer overflow, which could allow an attacker to crash the device or remotely execute arbitrary code.",
  "id": "CVE-2022-2972",
  "modified": "2026-07-15T01:48:53.425325637Z",
  "published": "2022-09-23T15:28:50.991Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2972.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2972"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.cisa.gov/uscert/ics/advisories/icsa-22-251-01"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MZ Automation libIEC61850 Stack-Based Buffer Overflow"
}