{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "65"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "153ba18ba99dc4dcef29a61e1e586af3df8d921d"
            }
          ],
          "repo": "https://github.com/webassembly/binaryen",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The main function in tools/wasm2js.cpp in Binaryen 1.38.22 has a heap-based buffer overflow because Emscripten is misused, triggering an error in cashew::JSPrinter::printAst() in emscripten-optimizer/simple_ast.h. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm2js.",
  "id": "CVE-2019-7154",
  "modified": "2026-03-13T21:54:55.768835188Z",
  "published": "2019-01-29T00:29:00.627Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/WebAssembly/binaryen/issues/1876"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}