Skip to content
Heist/ feed
Back to feed
Low

rust-wasmtime — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-47813

Wasmtime is an open source runtime for WebAssembly. Under certain concurrent event orderings, a `wasmtime::Engine`'s internal type registry was susceptible to double-unregistration bugs due to a race condition, leading to panics and potentially type registry corruption. That registry corruption could, following an additional and particular sequence of concurrent events, lead to violations of WebAssembly's control-flow integrity (CFI) and type safety. Users that do not use `wasmtime::Engine` across multiple threads are not affected. Users that only create new modules across threads over time are additionally not affected. Reproducing this bug requires creating and dropping multiple type instances (such as `wasmtime::FuncType` or `wasmtime::ArrayType`) concurrently on multiple threads, where all types are associated with the same `wasmtime::Engine`. **Wasm guests cannot trigger this bug.** See the "References" section below for a list of Wasmtime types-related APIs that are affected. Wasmtime maintains an internal registry of types within a `wasmtime::Engine` and an engine is shareable across threads. Types can be created and referenced through creation of a `wasmtime::Module`, creation of `wasmtime::FuncType`, or a number of other APIs where the host creates a function (see "References" below). Each of these cases interacts with an engine to deduplicate type information and manage type indices that are used to implement type checks in WebAssembly's `call_indirect` function, fo

Products
rust-wasmtime
Affected versions
10.0.1+dfsg-7, 15.0.1+dfsg-4, 16.0.0+dfsg-2, 16.0.0+dfsg-3, 26.0.1+dfsg-3, 26.0.1+dfsg-4, 28.0.1+dfsg-3, 29.0.1+dfsg-5, 36.0.13+dfsg-1, 36.0.5+dfsg-1
Fixed versions
Not specified
CVEs
CVE-2024-47813
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:14 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-47813

core-osv · Original source

Published 9 Oct 2024, 18:15 UTC

Wasmtime is an open source runtime for WebAssembly. Under certain concurrent event orderings, a `wasmtime::Engine`'s internal type registry was susceptible to double-unregistration bugs due to a race condition, leading to panics and potentially type registry corruption. That registry corruption could, following an additional and particular sequence of concurrent events, lead to violations of WebAssembly's control-flow integrity (CFI) and type safety. Users that do not use `wasmtime::Engine` across multiple threads are not affected. Users that only create new modules across threads over time are additionally not affected. Reproducing this bug requires creating and dropping multiple type instances (such as `wasmtime::FuncType` or `wasmtime::ArrayType`) concurrently on multiple threads, where all types are associated with the same `wasmtime::Engine`. **Wasm guests cannot trigger this bug.** See the "References" section below for a list of Wasmtime types-related APIs that are affected. Wasmtime maintains an internal registry of types within a `wasmtime::Engine` and an engine is shareable across threads. Types can be created and referenced through creation of a `wasmtime::Module`, creation of `wasmtime::FuncType`, or a number of other APIs where the host creates a function (see "References" below). Each of these cases interacts with an engine to deduplicate type information and manage type indices that are used to implement type checks in WebAssembly's `call_indirect` function, fo

osv:UBUNTU-CVE-2024-47813

rust-wasmtime

Fixed versions: Not specified

rust-wasmtime

Fixed versions: Not specified

rust-wasmtime

Fixed versions: Not specified

rust-wasmtime

Fixed versions: Not specified

Complete source record
{
  "id": "1ed7ea8772519b9d56722a99bc6c6d7334c60c75167aae0c6f44fb01faf00ee9",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-47813",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-47813",
    "summary": "Wasmtime is an open source runtime for WebAssembly. Under certain concurrent event orderings, a `wasmtime::Engine`'s internal type registry was susceptible to double-unregistration bugs due to a race condition, leading to panics and potentially type registry corruption. That registry corruption could, following an additional and particular sequence of concurrent events, lead to violations of WebAssembly's control-flow integrity (CFI) and type safety. Users that do not use `wasmtime::Engine` across multiple threads are not affected. Users that only create new modules across threads over time are additionally not affected. Reproducing this bug requires creating and dropping multiple type instances (such as `wasmtime::FuncType` or `wasmtime::ArrayType`) concurrently on multiple threads, where all types are associated with the same `wasmtime::Engine`. **Wasm guests cannot trigger this bug.** See the \"References\" section below for a list of Wasmtime types-related APIs that are affected. Wasmtime maintains an internal registry of types within a `wasmtime::Engine` and an engine is shareable across threads. Types can be created and referenced through creation of a `wasmtime::Module`, creation of `wasmtime::FuncType`, or a number of other APIs where the host creates a function (see \"References\" below). Each of these cases interacts with an engine to deduplicate type information and manage type indices that are used to implement type checks in WebAssembly's `call_indirect` function, fo",
    "evidence": "osv:UBUNTU-CVE-2024-47813",
    "products": [
      {
        "name": {
          "value": "rust-wasmtime",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.0.1+dfsg-7",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "15.0.1+dfsg-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "16.0.0+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "16.0.0+dfsg-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-wasmtime",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "26.0.1+dfsg-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-wasmtime",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "36.0.5+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "36.0.13+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-wasmtime",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "26.0.1+dfsg-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "26.0.1+dfsg-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "28.0.1+dfsg-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "29.0.1+dfsg-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "36.0.5+dfsg-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "UBUNTU-CVE-2024-47813",
      "aliases": [
        "UBUNTU-CVE-2024-47813"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-wasmtime",
            "purl": "pkg:deb/ubuntu/rust-wasmtime?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "10.0.1+dfsg-7",
            "15.0.1+dfsg-4",
            "16.0.0+dfsg-2",
            "16.0.0+dfsg-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47813.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-cranelift-dev",
                "binary_version": "0.103.0+16.0.0+dfsg-3"
              }
            ],
            "priority_reason": "Upstream rates this as being low severity"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-wasmtime",
            "purl": "pkg:deb/ubuntu/rust-wasmtime?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "26.0.1+dfsg-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47813.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-cranelift-dev",
                "binary_version": "0.113.1+26.0.1+dfsg-3"
              }
            ],
            "priority_reason": "Upstream rates this as being low severity"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-wasmtime",
            "purl": "pkg:deb/ubuntu/rust-wasmtime?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "36.0.5+dfsg-1",
            "36.0.13+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47813.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-cranelift-dev",
                "binary_version": "0.123.13+36.0.13+dfsg-1"
              }
            ],
            "priority_reason": "Upstream rates this as being low severity"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-wasmtime",
            "purl": "pkg:deb/ubuntu/rust-wasmtime?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "26.0.1+dfsg-3",
            "26.0.1+dfsg-4",
            "28.0.1+dfsg-3",
            "29.0.1+dfsg-5",
            "36.0.5+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47813.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-cranelift-dev",
                "binary_version": "0.123.5+36.0.5+dfsg-1"
              }
            ],
            "priority_reason": "Upstream rates this as being low severity"
          }
        }
      ],
      "modified": "2026-10-17T12:56:45.325323706Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-47813"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-47813",
        "https://www.cve.org/CVERecord?id=CVE-2024-47813",
        "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-7qmx-3fpx-r45m",
        "https://github.com/bytecodealliance/wasmtime/pull/7969"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-47813",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356148,
  "published_at": "2024-10-09T18:15:00+00:00"
}