Skip to content
Heist/ feed
Back to feed
Medium

binaryen — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-46054

A Denial of Service vulnerability exists in Binaryen 104 due to an assertion abort in wasm::WasmBinaryBuilder::visitRethrow(wasm::Rethrow*).

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-2021-46054
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:55 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-46054

core-osv · Original source

Published 10 Jan 2022, 14:11 UTC

A Denial of Service vulnerability exists in Binaryen 104 due to an assertion abort in wasm::WasmBinaryBuilder::visitRethrow(wasm::Rethrow*).

osv:UBUNTU-CVE-2021-46054

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": "890295845c7702128f3abe8d720dd1e2bb87e2b76c913d6217623d7dd409091f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-46054",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-46054",
    "summary": "A Denial of Service vulnerability exists in Binaryen 104 due to an assertion abort in wasm::WasmBinaryBuilder::visitRethrow(wasm::Rethrow*).",
    "evidence": "osv:UBUNTU-CVE-2021-46054",
    "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-2021-46054",
      "aliases": [
        "UBUNTU-CVE-2021-46054"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "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/2021/UBUNTU-CVE-2021-46054.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/2021/UBUNTU-CVE-2021-46054.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/2021/UBUNTU-CVE-2021-46054.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/2021/UBUNTU-CVE-2021-46054.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/2021/UBUNTU-CVE-2021-46054.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/2021/UBUNTU-CVE-2021-46054.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "binaryen",
                "binary_version": "120-4build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:15.991905199Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-46054"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-46054",
        "https://github.com/WebAssembly/binaryen/issues/4410",
        "https://www.cve.org/CVERecord?id=CVE-2021-46054"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-46054",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355083,
  "published_at": "2022-01-10T14:11:00+00:00"
}