# JLSEC-2026-1365: wasmtime has a panic when allocating a table exceeding the size of the host's address space

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-21T20:43:33.133Z
- Modified: 2026-08-21T21:14:21.809Z
- Related: CVE-2026-44216, EUVD-2026-30304, GHSA-p8xm-42r7-89xg

## Description

### 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.

(As written by Julia Security Advisories.)

## Affected

- Wasmtime_jll (Julia): from 39.0.0+0 before 45.0.1+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://access.redhat.com/errata/RHSA-2026:45341> (web)
- <https://access.redhat.com/security/cve/CVE-2026-44216> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2477467> (web)
- <https://github.com/advisories/GHSA-p8xm-42r7-89xg> (web)
- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-p8xm-42r7-89xg> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44216> (web)
- <https://rustsec.org/advisories/RUSTSEC-2026-0114.html> (web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44216.json> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1365](https://osv.dev/vulnerability/JLSEC-2026-1365), CC-BY-4.0, modified 2026-08-21

---

Page: https://cve.day/JLSEC-2026-1365 · Whole record: https://cve.day/JLSEC-2026-1365.json · Rebuilt by cve.day 2026-11-25T22:56:25.956Z
