Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-p8xm-42r7-89xg

Опубликовано: 07 мая 2026
Источник: github
Github: Прошло ревью
CVSS4: 5.9

Описание

wasmtime has a panic when allocating a table exceeding the size of the host's address space

Impact

Wasmtime's allocation logic for a WebAssembly table contained checked arithmetic which panicked on overflow. This overflow is possible to trigger, and thus panic, when a table with an extremely large size is allocated. This is possible with the WebAssembly memory64 proposal where tables can have sizes in the 64-bit range as opposed to the previous 32-bit range which would not overflow. The panic happens when attempting to create a very large table, such as when instantiating a WebAssembly module or component.

This bug does not affect the pooling allocator which limits tables sizes to much less than the required amount to trigger the overflow. This bug is only present for the on-demand instance allocator, which is Wasmtime's default allocator. This bug also requires the memory64 WebAssembly feature to be enabled, which is on-by-default.

Panicking in the host process is considered a denial-of-service vector for Wasmtime.

Patches

Wasmtime 36.0.8, 43.0.2, and 44.0.1 have all been released which fixes this issue.

Workarounds

Embeddings can switch to using the pooling allocator to work around this issue, or the memory64 WebAssembly proposal can be disabled. Otherwise there is no workaround and users are recommended to upgrade.

Пакеты

Наименование

wasmtime

rust
Затронутые версииВерсия исправления

>= 30.0.0, < 36.0.8

36.0.8

Наименование

wasmtime

rust
Затронутые версииВерсия исправления

>= 37.0.0, < 43.0.2

43.0.2

EPSS

Процентиль: 24%
0.00319
Низкий

5.9 Medium

CVSS4

Дефекты

CWE-770

Связанные уязвимости

CVSS3: 7.5
ubuntu
3 месяца назад

Wasmtime is a runtime for WebAssembly. From 30.0.0 to 36.0.8, 43.0.2, and 44.0.1, Wasmtime's allocation logic for a WebAssembly table contained checked arithmetic which panicked on overflow. This overflow is possible to trigger, and thus panic, when a table with an extremely large size is allocated. This is possible with the WebAssembly memory64 proposal where tables can have sizes in the 64-bit range as opposed to the previous 32-bit range which would not overflow. The panic happens when attempting to create a very large table, such as when instantiating a WebAssembly module or component. This vulnerability is fixed in 36.0.8, 43.0.2, and 44.0.1.

CVSS3: 7.5
redhat
3 месяца назад

Wasmtime is a runtime for WebAssembly. From 30.0.0 to 36.0.8, 43.0.2, and 44.0.1, Wasmtime's allocation logic for a WebAssembly table contained checked arithmetic which panicked on overflow. This overflow is possible to trigger, and thus panic, when a table with an extremely large size is allocated. This is possible with the WebAssembly memory64 proposal where tables can have sizes in the 64-bit range as opposed to the previous 32-bit range which would not overflow. The panic happens when attempting to create a very large table, such as when instantiating a WebAssembly module or component. This vulnerability is fixed in 36.0.8, 43.0.2, and 44.0.1.

CVSS3: 7.5
nvd
3 месяца назад

Wasmtime is a runtime for WebAssembly. From 30.0.0 to 36.0.8, 43.0.2, and 44.0.1, Wasmtime's allocation logic for a WebAssembly table contained checked arithmetic which panicked on overflow. This overflow is possible to trigger, and thus panic, when a table with an extremely large size is allocated. This is possible with the WebAssembly memory64 proposal where tables can have sizes in the 64-bit range as opposed to the previous 32-bit range which would not overflow. The panic happens when attempting to create a very large table, such as when instantiating a WebAssembly module or component. This vulnerability is fixed in 36.0.8, 43.0.2, and 44.0.1.

CVSS3: 7.5
debian
3 месяца назад

Wasmtime is a runtime for WebAssembly. From 30.0.0 to 36.0.8, 43.0.2, ...

suse-cvrf
2 месяца назад

Security update for tree-sitter

EPSS

Процентиль: 24%
0.00319
Низкий

5.9 Medium

CVSS4

Дефекты

CWE-770