Always-Incorrect Control Flow Implementation in Wasmtime - CVE-2024-47763

 

Always-Incorrect Control Flow Implementation in Wasmtime - CVE-2024-47763

Published: October 9, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU127038
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-47763
CWE-ID: CWE-670
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to improper handling of stack frames in stack-walking code when processing a WebAssembly module that combines tail calls with stack trace capture. A local user can execute a crafted WebAssembly module or component to cause a denial of service.

The issue is triggered when an exported function performs a return_call, return_call_indirect, or return_call_ref to an imported host function that captures a stack trace, such as by raising a trap.


Affected software

Wasmtime

How to mitigate CVE-2024-47763

Install security update from vendor's website.

Wasmtime - addressed in versions 21.0.2, 22.0.1, 23.0.3, 24.0.1, 25.0.2

External References

Related Security Bulletins