CVEBrief

Home / bytecodealliance / wasmtime / CVE-2024-47813

CVE-2024-47813: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?

CVE-2024-47813 is a time-of-check time-of-use race condition vulnerability in bytecodealliance wasmtime. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: wasmtime from 19.0.0 before 21.0.2, wasmtime from 22.0.0 before 22.0.1, wasmtime from 23.0.0 before 23.0.3 and 2 more (GitHub advisory GHSA-7qmx-3fpx-r45m). Fixed in 21.0.2, 22.0.1, 23.0.3, 24.0.1 and 1 more (GitHub advisory GHSA-7qmx-3fpx-r45m). Severity: Low (2.9, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:26 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 15:09 UTC
Affected
wasmtime from 19.0.0 before 21.0.2, wasmtime from 22.0.0 before 22.0.1, wasmtime from 23.0.0 before 23.0.3 and 2 more
GitHub advisory GHSA-7qmx-3fpx-r45m
Fixed in
21.0.2, 22.0.1, 23.0.3, 24.0.1 and 1 more
GitHub advisory GHSA-7qmx-3fpx-r45m
Severity
Low 2.9
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.15% in 30 days
higher than 5% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-47813?

Wasmtime race condition could lead to WebAssembly control-flow integrity and type safety violations

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, for example. This bug is a race condition in this management where the internal type registry could be corrupted to trigger an assert or contain invalid state. Wasmtime's internal representation of a type has individual types (e.g. one-per-host-function) maintain a registration count of how many time it's been used. Types additionally have state within an engine behind a read-write lock such as lookup/deduplication information. The race here is a time-of-check versus time-of-use (TOCTOU) bug where one thread atomically decrements a type entry's registration count, observes zero registrations, and then acquires a lock in order to unregister that entry. However, between when this first thread observed the zero-registration count and when it acquires that lock, another thread could perform the following sequence of events: re-register another copy of the type, which deduplicates to that same entry, resurrecting it and incrementing its registration count; then drop the type and decrement its registration count; observe that the registration count is now zero; acquire the type registry lock; and finally unregister the type. Now, when the original thread finally acquires the lock and unregisters the entry, it is the second time this entry has been unregistered. This bug was originally introduced in Wasmtime 19's development of the WebAssembly GC proposal. This bug affects users who are not using the GC proposal, however, and affects Wasmtime in its default configuration even when the GC proposal is disabled. Wasmtime users using 19.0.0 and after are all affected by this issue. We have released the following Wasmtime versions, all of which have a fix for this bug: * 21.0.2 * 22.0.1 * 23.0.3 * 24.0.1 * 25.0.2. If your application creates and drops Wasmtime types on multiple threads concurrently, there are no known workarounds. Users are encouraged to upgrade to a patched release.

From the CVE record by GitHub_M, last updated October 9, 2024, 19:43 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
bytecodealliancewasmtime>= 19.0.0, < 21.0.2
>= 22.0.0, < 22.0.1
>= 23.0.0, < 23.0.3
>= 24.0.0, < 24.0.1
>= 25.0.0, < 25.0.2

As the CVE record by GitHub_M states it, last updated October 9, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
crates.iowasmtime>= 19.0.0, < 21.0.221.0.2GHSA-7qmx-3fpx-r45m
crates.iowasmtime>= 22.0.0, < 22.0.122.0.1GHSA-7qmx-3fpx-r45m
crates.iowasmtime>= 23.0.0, < 23.0.323.0.3GHSA-7qmx-3fpx-r45m
crates.iowasmtime>= 24.0.0, < 24.0.124.0.1GHSA-7qmx-3fpx-r45m
crates.iowasmtime>= 25.0.0, < 25.0.225.0.2GHSA-7qmx-3fpx-r45m

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 8, 2026. Summary: Wasmtime race condition could lead to WebAssembly control-flow integrity and type safety violations.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
bytecodealliancewasmtime19.0.0application
bytecodealliancewasmtime19.0.1application
bytecodealliancewasmtime19.0.2application
bytecodealliancewasmtime20.0.0application
bytecodealliancewasmtime20.0.1application
bytecodealliancewasmtime20.0.2application
bytecodealliancewasmtime21.0.0application
bytecodealliancewasmtime21.0.1application
bytecodealliancewasmtime22.0.0application
bytecodealliancewasmtime23.0.0application
bytecodealliancewasmtime23.0.1application
bytecodealliancewasmtime23.0.2application
bytecodealliancewasmtime24.0.0application
bytecodealliancewasmtime25.0.0application
bytecodealliancewasmtime25.0.1application

NVD analysis (status Analyzed), last modified June 17, 2026, 07:57 UTC.

How severe is CVE-2024-47813?

ScoreVersionVectorSource
Low 2.9CVSS 3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:LGitHub_M

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-47813 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 9, 2024)
EPSS
0.15% probability of exploitation activity in the next 30 days, percentile 4.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
October 3, 2024
Published
October 9, 2024, 18:07 UTC
CVE record updated
October 9, 2024, 19:43 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 07:57 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect wasmtime?

Every CVE in wasmtime

Questions about CVE-2024-47813

Is CVE-2024-47813 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.15% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of bytecodealliance wasmtime are affected by CVE-2024-47813?

wasmtime from 19.0.0 before 21.0.2, wasmtime from 22.0.0 before 22.0.1, wasmtime from 23.0.0 before 23.0.3, wasmtime from 24.0.0 before 24.0.1 and wasmtime from 25.0.0 before 25.0.2, per the GitHub advisory GHSA-7qmx-3fpx-r45m. The tables above give every range the sources list.

Which version fixes CVE-2024-47813?

21.0.2, 22.0.1, 23.0.3, 24.0.1 and 25.0.2, per the GitHub advisory GHSA-7qmx-3fpx-r45m. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-47813?

Low (2.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2024-47813?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.