Skip to content
Heist/ feed
Back to feed
Medium

binaryen — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2019-7151

A NULL pointer dereference was discovered in wasm::Module::getFunctionOrNull in wasm/wasm.cpp in Binaryen 1.38.22. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm-opt.

Products
binaryen
Affected versions
105-1, 108-1, 120-3, 120-4, 120-4build1, 130-2, 130-3, 131-2, 89-1, 90-1, 91-1, 99-3
Fixed versions
Not specified
CVEs
CVE-2019-7151
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:50 UTC · Revision 1

Source evidence

UBUNTU-CVE-2019-7151

core-osv · Original source

Published 29 Jan 2019, 00:29 UTC

A NULL pointer dereference was discovered in wasm::Module::getFunctionOrNull in wasm/wasm.cpp in Binaryen 1.38.22. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm-opt.

osv:UBUNTU-CVE-2019-7151

binaryen

Fixed versions: Not specified

binaryen

Fixed versions: Not specified

binaryen

Fixed versions: Not specified

binaryen

Fixed versions: Not specified

binaryen

Fixed versions: Not specified

binaryen

Fixed versions: Not specified

Complete source record
{
  "id": "a9370c2b56c118d50dab27a857ac1bf603db4379d1e7601f80dff68ddf923dd5",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-7151",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2019-7151",
    "summary": "A NULL pointer dereference was discovered in wasm::Module::getFunctionOrNull in wasm/wasm.cpp in Binaryen 1.38.22. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm-opt.",
    "evidence": "osv:UBUNTU-CVE-2019-7151",
    "products": [
      {
        "name": {
          "value": "binaryen",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "89-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "90-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "91-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "binaryen",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "99-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "105-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "binaryen",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "108-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "binaryen",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "120-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "120-4",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "binaryen",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "120-4build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "130-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "130-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "131-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "binaryen",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "120-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "120-4build1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2019-7151",
      "aliases": [
        "UBUNTU-CVE-2019-7151"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "binaryen",
            "purl": "pkg:deb/ubuntu/binaryen?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "89-1",
            "90-1",
            "91-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7151.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "binaryen",
                "binary_version": "91-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "binaryen",
            "purl": "pkg:deb/ubuntu/binaryen?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "99-3",
            "105-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7151.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "binaryen",
                "binary_version": "105-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "binaryen",
            "purl": "pkg:deb/ubuntu/binaryen?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "108-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7151.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "binaryen",
                "binary_version": "108-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "binaryen",
            "purl": "pkg:deb/ubuntu/binaryen?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "120-3",
            "120-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7151.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "binaryen",
                "binary_version": "120-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "binaryen",
            "purl": "pkg:deb/ubuntu/binaryen?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "120-4build1",
            "130-2",
            "130-3",
            "131-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7151.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "binaryen",
                "binary_version": "131-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "binaryen",
            "purl": "pkg:deb/ubuntu/binaryen?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "120-4",
            "120-4build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7151.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "binaryen",
                "binary_version": "120-4build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:09.324563034Z",
      "provider": "osv",
      "upstream": [
        "CVE-2019-7151"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2019-7151",
        "https://github.com/WebAssembly/binaryen/issues/1881",
        "https://github.com/WebAssembly/binaryen/commit/2127e64f42da55bb5b9b0ab1995b3ca7fc4e0d0b",
        "https://github.com/WebAssembly/binaryen/commit/85e95e315a8023c46eb804fe80ebc244bcfdae3e",
        "https://www.cve.org/CVERecord?id=CVE-2019-7151"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2019-7151",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354883,
  "published_at": "2019-01-29T00:29:00+00:00"
}