{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:wasm3_project:wasm3:0.5.0:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.5.0"
              },
              {
                "last_affected": "0.5.0"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "6b8bcb1e07bf26ebef09a7211b0a37a446eafd52"
            },
            {
              "last_affected": "6b8bcb1e07bf26ebef09a7211b0a37a446eafd52"
            }
          ],
          "repo": "https://github.com/wasm3/wasm3",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.5.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28966.json"
  },
  "details": "Wasm3 0.5.0 has a heap-based buffer overflow in NewCodePage in m3_code.c (called indirectly from Compile_BranchTable in m3_compile.c).",
  "id": "CVE-2022-28966",
  "modified": "2026-07-15T01:48:54.982515228Z",
  "published": "2022-04-16T15:52:37Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28966.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-28966"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/wasm3/wasm3/issues/320"
    }
  ],
  "schema_version": "1.8.0"
}