rust-wasmtime — security advisory
Wasmtime is an open source runtime for WebAssembly. Wasmtime's implementation of WebAssembly tail calls combined with stack traces can result in a runtime crash in certain WebAssembly modules. The runtime crash may be undefined behavior if Wasmtime was compiled with Rust 1.80 or prior. The runtime crash is a deterministic process abort when Wasmtime is compiled with Rust 1.81 and later. WebAssembly tail calls are a proposal which relatively recently reached stage 4 in the standardization process. Wasmtime first enabled support for tail calls by default in Wasmtime 21.0.0, although that release contained a bug where it was only on-by-default for some configurations. In Wasmtime 22.0.0 tail calls were enabled by default for all configurations. The specific crash happens when an exported function in a WebAssembly module (or component) performs a `return_call` (or `return_call_indirect` or `return_call_ref`) to an imported host function which captures a stack trace (for example, the host function raises a trap). In this situation, the stack-walking code previously assumed there was always at least one WebAssembly frame on the stack but with tail calls that is no longer true. With the tail-call proposal it's possible to have an entry trampoline appear as if it directly called the exit trampoline. This situation triggers an internal assert in the stack-walking code which raises a Rust `panic!()`. When Wasmtime is compiled with Rust versions 1.80 and prior this means that an `extern
- 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-47763
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:22 UTC · Revision 1
Source evidence
Wasmtime is an open source runtime for WebAssembly. Wasmtime's implementation of WebAssembly tail calls combined with stack traces can result in a runtime crash in certain WebAssembly modules. The runtime crash may be undefined behavior if Wasmtime was compiled with Rust 1.80 or prior. The runtime crash is a deterministic process abort when Wasmtime is compiled with Rust 1.81 and later. WebAssembly tail calls are a proposal which relatively recently reached stage 4 in the standardization process. Wasmtime first enabled support for tail calls by default in Wasmtime 21.0.0, although that release contained a bug where it was only on-by-default for some configurations. In Wasmtime 22.0.0 tail calls were enabled by default for all configurations. The specific crash happens when an exported function in a WebAssembly module (or component) performs a `return_call` (or `return_call_indirect` or `return_call_ref`) to an imported host function which captures a stack trace (for example, the host function raises a trap). In this situation, the stack-walking code previously assumed there was always at least one WebAssembly frame on the stack but with tail calls that is no longer true. With the tail-call proposal it's possible to have an entry trampoline appear as if it directly called the exit trampoline. This situation triggers an internal assert in the stack-walking code which raises a Rust `panic!()`. When Wasmtime is compiled with Rust versions 1.80 and prior this means that an `extern
osv:UBUNTU-CVE-2024-47763
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": "914504e70a1e9265968e4532e219e7c5494866f5c3802df39746de8def3a71d2",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-47763",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-47763",
"summary": "Wasmtime is an open source runtime for WebAssembly. Wasmtime's implementation of WebAssembly tail calls combined with stack traces can result in a runtime crash in certain WebAssembly modules. The runtime crash may be undefined behavior if Wasmtime was compiled with Rust 1.80 or prior. The runtime crash is a deterministic process abort when Wasmtime is compiled with Rust 1.81 and later. WebAssembly tail calls are a proposal which relatively recently reached stage 4 in the standardization process. Wasmtime first enabled support for tail calls by default in Wasmtime 21.0.0, although that release contained a bug where it was only on-by-default for some configurations. In Wasmtime 22.0.0 tail calls were enabled by default for all configurations. The specific crash happens when an exported function in a WebAssembly module (or component) performs a `return_call` (or `return_call_indirect` or `return_call_ref`) to an imported host function which captures a stack trace (for example, the host function raises a trap). In this situation, the stack-walking code previously assumed there was always at least one WebAssembly frame on the stack but with tail calls that is no longer true. With the tail-call proposal it's possible to have an entry trampoline appear as if it directly called the exit trampoline. This situation triggers an internal assert in the stack-walking code which raises a Rust `panic!()`. When Wasmtime is compiled with Rust versions 1.80 and prior this means that an `extern",
"evidence": "osv:UBUNTU-CVE-2024-47763",
"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": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-47763",
"aliases": [
"UBUNTU-CVE-2024-47763"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"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-47763.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-cranelift-dev",
"binary_version": "0.103.0+16.0.0+dfsg-3"
}
]
}
},
{
"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-47763.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-cranelift-dev",
"binary_version": "0.113.1+26.0.1+dfsg-3"
}
]
}
},
{
"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-47763.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-cranelift-dev",
"binary_version": "0.123.13+36.0.13+dfsg-1"
}
]
}
},
{
"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-47763.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-cranelift-dev",
"binary_version": "0.123.5+36.0.5+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:45.622881549Z",
"provider": "osv",
"upstream": [
"CVE-2024-47763"
],
"references": [
"https://ubuntu.com/security/CVE-2024-47763",
"https://www.cve.org/CVERecord?id=CVE-2024-47763",
"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q8hx-mm92-4wvg",
"https://github.com/bytecodealliance/wasmtime/pull/8540",
"https://github.com/bytecodealliance/wasmtime/pull/8682",
"https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.wasm_tail_call",
"https://github.com/WebAssembly/proposals",
"https://github.com/webassembly/tail-call"
]
},
"related_cves": [
{
"value": "CVE-2024-47763",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356179,
"published_at": "2024-10-09T18:15:00+00:00"
}