CVE-2026-119134: Component-model handle tables are capped only per instance and charged to no limit
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q554-3cjc-rx7p For more information see the GitHub-hosted security advisory.
Other sources
Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 caps component-model resource handle tables only per component instance and does not charge handle allocations to any ResourceLimiter or StoreLimits. A malicious guest can repeatedly call resource.new and instantiate sub-components to exceed the per-instance cap many times over, causing unbounded host memory growth.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/wasmtimeto a version that resolves this vulnerability.Fixed in 36.0.18 - Upgrade
Upgrade
rust/wasmtimeto a version that resolves this vulnerability.Fixed in 48.0.6 - Upgrade
Upgrade
rust/wasmtimeto a version that resolves this vulnerability.Fixed in 49.0.3 - Upgrade
Upgrade
debian/rust-wasmtimeto a version that resolves this vulnerability.Fixed in 36.0.20+dfsg-1
Event History
Frequently Asked Questions
Who is exposed to this issue?
Hosts that execute untrusted Wasmtime component-model guests are exposed, because a malicious guest can allocate resource handles and repeatedly instantiate sub-components. The impact is unbounded host memory growth and potential availability loss.
Do ResourceLimiter or StoreLimits mitigate the issue in affected versions?
No. In the affected versions, component-model resource handle allocations are not charged to ResourceLimiter or StoreLimits, so those limits do not constrain this allocation path.
Which Wasmtime versions need updating?
Update Wasmtime versions before 36.0.18, versions from 37.0.0 through before 48.0.6, and versions from 49.0.0 through before 49.0.3. Version lines not identified in the advisory data should be evaluated separately.
What must an attacker be able to do to trigger the problem?
An attacker needs to run a malicious guest using the component model. The guest repeatedly calls resource.new and instantiates sub-components to bypass the effective per-instance handle-table cap.