{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.74.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "003ee041795f3b737afaaef5721045ee31ea9f77"
            },
            {
              "fixed": "7b5044b3f5866fbedc3efabd05e407352c07bd2f"
            }
          ],
          "repo": "https://github.com/node-opcua/node-opcua",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The package node-opcua before 2.74.0 are vulnerable to Denial of Service (DoS) by sending a specifically crafted OPC UA message with a special OPC UA NodeID, when the requested memory allocation exceeds the v8’s memory limit.",
  "id": "CVE-2022-25231",
  "modified": "2026-03-13T21:53:58.406178518Z",
  "published": "2022-08-23T05:15:07.873Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security.snyk.io/vuln/SNYK-JS-NODEOPCUA-2988724"
    },
    {
      "type": "FIX",
      "url": "https://github.com/node-opcua/node-opcua/commit/7b5044b3f5866fbedc3efabd05e407352c07bd2f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/node-opcua/node-opcua/pull/1182"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}