{
    "version": "https://jsonfeed.org/version/1",
    "title": "Security Advisory for Rust crates",
    "home_page_url": "https://github.com/advisories?query=type%3Areviewed+ecosystem%3Arust",
    "feed_url": "https://azu.github.io/github-advisory-database-rss/rust.json",
    "description": "Security Advisory for Rust crates on GitHub",
    "items": [
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Winch compiler backend contains a bug where translating the <code>table.grow</code> operator causes the result to be incorrectly typed. For 32-bit tables this means that the result of the operator, internally in Winch, is tagged as a 64-bit value instead of a 32-bit value. This invalid internal representation of Winch's compiler state compounds into further issues depending on how the value is consumed.</p>\n<p>One example can be seen when the result of <code>table.grow</code> is used as the address of a load operation. The load operation is tricked into thinking the address is a 64-bit value, not a 32-bit value, which means that the final address to load from is calculated incorrectly. This can lead to a situation where the bytes before the start of linear memory can be loaded/stored to.</p>\n<p>The primary consequence of this bug is that bytes in the host's address space can be stored/read from. This is only applicable to the 16 bytes before linear memory, however, as the only significant return value of <code>table.grow</code> that can be misinterpreted is -1. The bytes before linear memory are, by default, unmapped memory. Wasmtime will detect this fault and abort the process, however, because wasm should not be able to access these bytes.</p>\n<p>Overall this this bug in Winch represents a DoS vector by crashing the host process, a correctness issue within Winch, and a possible leak of up to 16-bytes before linear memory. Wasmtime's default compiler is Cranelift, not Winch, and Wasmtime's default settings are to place guard pages before linear memory. This means that Wasmtime's default configuration is not affected by this issue, and when explicitly choosing Winch Wasmtime's otherwise default configuration leads to a DoS. Disabling guard pages before linear memory is required to possibly leak up to 16-bytes of host data.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 43.0.1, 42.0.2, and 36.0.7 have been released with fixes for this issue.</p>\n<h3 id=\"workaround\">Workaround</h3>\n<p>There are no workarounds within the Winch compiler backend while using the affected versions. Users of Wasmtime are encouraged either to upgrade to patched versions or, if that is not possible, use the Cranelift compiler backend.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-35186\">https://nvd.nist.gov/vuln/detail/CVE-2026-35186</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0094.html\">https://rustsec.org/advisories/RUSTSEC-2026-0094.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-f984-pcp8-v2p7\">https://github.com/advisories/GHSA-f984-pcp8-v2p7</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-f984-pcp8-v2p7",
            "title": "[wasmtime] Wasmtime has improperly masked return value from `table.grow` with Winch compiler backend",
            "date_modified": "2026-04-10T15:32:54.000Z",
            "date_published": "2026-04-10T15:32:49.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-f984-pcp8-v2p7"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Winch compiler backend contains a bug where translating the <code>table.grow</code> operator causes the result to be incorrectly typed. For 32-bit tables this means that the result of the operator, internally in Winch, is tagged as a 64-bit value instead of a 32-bit value. This invalid internal representation of Winch's compiler state compounds into further issues depending on how the value is consumed.</p>\n<p>One example can be seen when the result of <code>table.grow</code> is used as the address of a load operation. The load operation is tricked into thinking the address is a 64-bit value, not a 32-bit value, which means that the final address to load from is calculated incorrectly. This can lead to a situation where the bytes before the start of linear memory can be loaded/stored to.</p>\n<p>The primary consequence of this bug is that bytes in the host's address space can be stored/read from. This is only applicable to the 16 bytes before linear memory, however, as the only significant return value of <code>table.grow</code> that can be misinterpreted is -1. The bytes before linear memory are, by default, unmapped memory. Wasmtime will detect this fault and abort the process, however, because wasm should not be able to access these bytes.</p>\n<p>Overall this this bug in Winch represents a DoS vector by crashing the host process, a correctness issue within Winch, and a possible leak of up to 16-bytes before linear memory. Wasmtime's default compiler is Cranelift, not Winch, and Wasmtime's default settings are to place guard pages before linear memory. This means that Wasmtime's default configuration is not affected by this issue, and when explicitly choosing Winch Wasmtime's otherwise default configuration leads to a DoS. Disabling guard pages before linear memory is required to possibly leak up to 16-bytes of host data.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 43.0.1, 42.0.2, and 36.0.7 have been released with fixes for this issue.</p>\n<h3 id=\"workaround\">Workaround</h3>\n<p>There are no workarounds within the Winch compiler backend while using the affected versions. Users of Wasmtime are encouraged either to upgrade to patched versions or, if that is not possible, use the Cranelift compiler backend.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-35186\">https://nvd.nist.gov/vuln/detail/CVE-2026-35186</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0094.html\">https://rustsec.org/advisories/RUSTSEC-2026-0094.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-f984-pcp8-v2p7\">https://github.com/advisories/GHSA-f984-pcp8-v2p7</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-f984-pcp8-v2p7",
            "title": "[wasmtime] Wasmtime has improperly masked return value from `table.grow` with Winch compiler backend",
            "date_modified": "2026-04-10T15:32:54.000Z",
            "date_published": "2026-04-10T15:32:49.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-f984-pcp8-v2p7"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Winch compiler backend contains a bug where translating the <code>table.grow</code> operator causes the result to be incorrectly typed. For 32-bit tables this means that the result of the operator, internally in Winch, is tagged as a 64-bit value instead of a 32-bit value. This invalid internal representation of Winch's compiler state compounds into further issues depending on how the value is consumed.</p>\n<p>One example can be seen when the result of <code>table.grow</code> is used as the address of a load operation. The load operation is tricked into thinking the address is a 64-bit value, not a 32-bit value, which means that the final address to load from is calculated incorrectly. This can lead to a situation where the bytes before the start of linear memory can be loaded/stored to.</p>\n<p>The primary consequence of this bug is that bytes in the host's address space can be stored/read from. This is only applicable to the 16 bytes before linear memory, however, as the only significant return value of <code>table.grow</code> that can be misinterpreted is -1. The bytes before linear memory are, by default, unmapped memory. Wasmtime will detect this fault and abort the process, however, because wasm should not be able to access these bytes.</p>\n<p>Overall this this bug in Winch represents a DoS vector by crashing the host process, a correctness issue within Winch, and a possible leak of up to 16-bytes before linear memory. Wasmtime's default compiler is Cranelift, not Winch, and Wasmtime's default settings are to place guard pages before linear memory. This means that Wasmtime's default configuration is not affected by this issue, and when explicitly choosing Winch Wasmtime's otherwise default configuration leads to a DoS. Disabling guard pages before linear memory is required to possibly leak up to 16-bytes of host data.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 43.0.1, 42.0.2, and 36.0.7 have been released with fixes for this issue.</p>\n<h3 id=\"workaround\">Workaround</h3>\n<p>There are no workarounds within the Winch compiler backend while using the affected versions. Users of Wasmtime are encouraged either to upgrade to patched versions or, if that is not possible, use the Cranelift compiler backend.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-35186\">https://nvd.nist.gov/vuln/detail/CVE-2026-35186</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0094.html\">https://rustsec.org/advisories/RUSTSEC-2026-0094.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-f984-pcp8-v2p7\">https://github.com/advisories/GHSA-f984-pcp8-v2p7</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-f984-pcp8-v2p7",
            "title": "[wasmtime] Wasmtime has improperly masked return value from `table.grow` with Winch compiler backend",
            "date_modified": "2026-04-10T15:32:54.000Z",
            "date_published": "2026-04-10T15:32:49.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-f984-pcp8-v2p7"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime with its Winch (baseline) non-default compiler backend may allow properly constructed guest Wasm to access host memory outside of its linear-memory sandbox.</p>\n<p>This vulnerability requires use of the Winch compiler (<code>-Ccompiler=winch</code>). By default, Wasmtime uses its Cranelift backend, not Winch. With Winch, the same incorrect assumption is present in theory on both aarch64 and x86-64. The aarch64 case has an observed-working proof of concept, while the x86-64 case is theoretical and may not be reachable in practice.</p>\n<p>This Winch compiler bug can allow the Wasm guest to access memory before or after the linear-memory region, independently of whether pre- or post-guard regions are configured. The accessible range in the initial bug proof-of-concept is up to 32KiB before the start of memory, or ~4GiB after the start of memory, independently of the size of pre- or post-guard regions or the use of explicit or guard-region-based bounds checking. However, the underlying bug assumes a 32-bit memory offset stored in a 64-bit register has its upper bits cleared when it may not, and so closely related variants of the initial proof-of-concept may be able to access truly arbitrary memory in-process. This could result in a host process segmentation fault (DoS), an arbitrary data leak from the host process, or with a write, potentially an arbitrary RCE.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 43.0.1, 42.0.2, and 36.0.7 have been released with fixes for this issue.</p>\n<h3 id=\"workaround\">Workaround</h3>\n<p>There are no workarounds within the Winch compiler backend while using the affected versions. Users of Wasmtime are encouraged either to upgrade to patched versions or, if that is not possible, use the Cranelift compiler backend.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34987\">https://nvd.nist.gov/vuln/detail/CVE-2026-34987</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0095.html\">https://rustsec.org/advisories/RUSTSEC-2026-0095.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-xx5w-cvp6-jv83\">https://github.com/advisories/GHSA-xx5w-cvp6-jv83</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-xx5w-cvp6-jv83",
            "title": "[wasmtime] Wasmtime with Winch compiler backend on aarch64 may allow a sandbox-escaping memory access",
            "date_modified": "2026-04-10T15:31:20.000Z",
            "date_published": "2026-04-10T15:31:18.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-xx5w-cvp6-jv83"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime with its Winch (baseline) non-default compiler backend may allow properly constructed guest Wasm to access host memory outside of its linear-memory sandbox.</p>\n<p>This vulnerability requires use of the Winch compiler (<code>-Ccompiler=winch</code>). By default, Wasmtime uses its Cranelift backend, not Winch. With Winch, the same incorrect assumption is present in theory on both aarch64 and x86-64. The aarch64 case has an observed-working proof of concept, while the x86-64 case is theoretical and may not be reachable in practice.</p>\n<p>This Winch compiler bug can allow the Wasm guest to access memory before or after the linear-memory region, independently of whether pre- or post-guard regions are configured. The accessible range in the initial bug proof-of-concept is up to 32KiB before the start of memory, or ~4GiB after the start of memory, independently of the size of pre- or post-guard regions or the use of explicit or guard-region-based bounds checking. However, the underlying bug assumes a 32-bit memory offset stored in a 64-bit register has its upper bits cleared when it may not, and so closely related variants of the initial proof-of-concept may be able to access truly arbitrary memory in-process. This could result in a host process segmentation fault (DoS), an arbitrary data leak from the host process, or with a write, potentially an arbitrary RCE.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 43.0.1, 42.0.2, and 36.0.7 have been released with fixes for this issue.</p>\n<h3 id=\"workaround\">Workaround</h3>\n<p>There are no workarounds within the Winch compiler backend while using the affected versions. Users of Wasmtime are encouraged either to upgrade to patched versions or, if that is not possible, use the Cranelift compiler backend.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34987\">https://nvd.nist.gov/vuln/detail/CVE-2026-34987</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0095.html\">https://rustsec.org/advisories/RUSTSEC-2026-0095.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-xx5w-cvp6-jv83\">https://github.com/advisories/GHSA-xx5w-cvp6-jv83</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-xx5w-cvp6-jv83",
            "title": "[wasmtime] Wasmtime with Winch compiler backend on aarch64 may allow a sandbox-escaping memory access",
            "date_modified": "2026-04-10T15:31:20.000Z",
            "date_published": "2026-04-10T15:31:18.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-xx5w-cvp6-jv83"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime with its Winch (baseline) non-default compiler backend may allow properly constructed guest Wasm to access host memory outside of its linear-memory sandbox.</p>\n<p>This vulnerability requires use of the Winch compiler (<code>-Ccompiler=winch</code>). By default, Wasmtime uses its Cranelift backend, not Winch. With Winch, the same incorrect assumption is present in theory on both aarch64 and x86-64. The aarch64 case has an observed-working proof of concept, while the x86-64 case is theoretical and may not be reachable in practice.</p>\n<p>This Winch compiler bug can allow the Wasm guest to access memory before or after the linear-memory region, independently of whether pre- or post-guard regions are configured. The accessible range in the initial bug proof-of-concept is up to 32KiB before the start of memory, or ~4GiB after the start of memory, independently of the size of pre- or post-guard regions or the use of explicit or guard-region-based bounds checking. However, the underlying bug assumes a 32-bit memory offset stored in a 64-bit register has its upper bits cleared when it may not, and so closely related variants of the initial proof-of-concept may be able to access truly arbitrary memory in-process. This could result in a host process segmentation fault (DoS), an arbitrary data leak from the host process, or with a write, potentially an arbitrary RCE.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 43.0.1, 42.0.2, and 36.0.7 have been released with fixes for this issue.</p>\n<h3 id=\"workaround\">Workaround</h3>\n<p>There are no workarounds within the Winch compiler backend while using the affected versions. Users of Wasmtime are encouraged either to upgrade to patched versions or, if that is not possible, use the Cranelift compiler backend.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34987\">https://nvd.nist.gov/vuln/detail/CVE-2026-34987</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0095.html\">https://rustsec.org/advisories/RUSTSEC-2026-0095.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-xx5w-cvp6-jv83\">https://github.com/advisories/GHSA-xx5w-cvp6-jv83</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-xx5w-cvp6-jv83",
            "title": "[wasmtime] Wasmtime with Winch compiler backend on aarch64 may allow a sandbox-escaping memory access",
            "date_modified": "2026-04-10T15:31:20.000Z",
            "date_published": "2026-04-10T15:31:18.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-xx5w-cvp6-jv83"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's implementation of transcoding strings between components contains a bug where the return value of a guest component's <code>realloc</code> is not validated before the host attempts to write through the pointer. This enables a guest to cause the host to write arbitrary transcoded string bytes to an arbitrary location up to 4GiB away from the base of linear memory. These writes on the host could hit unmapped memory or could corrupt host data structures depending on Wasmtime's configuration.</p>\n<p>Wasmtime by default reserves 4GiB of virtual memory for a guest's linear memory meaning that this bug will by default on hosts cause the host to hit unmapped memory and abort the process due to an unhandled fault. Wasmtime can be configured, however, to reserve less memory for a guest and to remove all guard pages, so some configurations of Wasmtime may lead to corruption of data outside of a guest's linear memory, such as host data structures or other guests's linear memories. </p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 24.0.7, 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>There is no known workaround for this issue and affected hosts/embeddings are recommended to upgrade.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-35195\">https://nvd.nist.gov/vuln/detail/CVE-2026-35195</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0091.html\">https://rustsec.org/advisories/RUSTSEC-2026-0091.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/advisories/GHSA-394w-hwhg-8vgm</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm",
            "title": "[wasmtime] Wasmtime has out-of-bounds write or crash when transcoding component model strings",
            "date_modified": "2026-04-10T14:40:31.000Z",
            "date_published": "2026-04-09T20:24:12.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's implementation of transcoding strings between components contains a bug where the return value of a guest component's <code>realloc</code> is not validated before the host attempts to write through the pointer. This enables a guest to cause the host to write arbitrary transcoded string bytes to an arbitrary location up to 4GiB away from the base of linear memory. These writes on the host could hit unmapped memory or could corrupt host data structures depending on Wasmtime's configuration.</p>\n<p>Wasmtime by default reserves 4GiB of virtual memory for a guest's linear memory meaning that this bug will by default on hosts cause the host to hit unmapped memory and abort the process due to an unhandled fault. Wasmtime can be configured, however, to reserve less memory for a guest and to remove all guard pages, so some configurations of Wasmtime may lead to corruption of data outside of a guest's linear memory, such as host data structures or other guests's linear memories. </p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 24.0.7, 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>There is no known workaround for this issue and affected hosts/embeddings are recommended to upgrade.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-35195\">https://nvd.nist.gov/vuln/detail/CVE-2026-35195</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0091.html\">https://rustsec.org/advisories/RUSTSEC-2026-0091.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/advisories/GHSA-394w-hwhg-8vgm</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm",
            "title": "[wasmtime] Wasmtime has out-of-bounds write or crash when transcoding component model strings",
            "date_modified": "2026-04-10T14:40:31.000Z",
            "date_published": "2026-04-09T20:24:12.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's implementation of transcoding strings between components contains a bug where the return value of a guest component's <code>realloc</code> is not validated before the host attempts to write through the pointer. This enables a guest to cause the host to write arbitrary transcoded string bytes to an arbitrary location up to 4GiB away from the base of linear memory. These writes on the host could hit unmapped memory or could corrupt host data structures depending on Wasmtime's configuration.</p>\n<p>Wasmtime by default reserves 4GiB of virtual memory for a guest's linear memory meaning that this bug will by default on hosts cause the host to hit unmapped memory and abort the process due to an unhandled fault. Wasmtime can be configured, however, to reserve less memory for a guest and to remove all guard pages, so some configurations of Wasmtime may lead to corruption of data outside of a guest's linear memory, such as host data structures or other guests's linear memories. </p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 24.0.7, 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>There is no known workaround for this issue and affected hosts/embeddings are recommended to upgrade.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-35195\">https://nvd.nist.gov/vuln/detail/CVE-2026-35195</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0091.html\">https://rustsec.org/advisories/RUSTSEC-2026-0091.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/advisories/GHSA-394w-hwhg-8vgm</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm",
            "title": "[wasmtime] Wasmtime has out-of-bounds write or crash when transcoding component model strings",
            "date_modified": "2026-04-10T14:40:31.000Z",
            "date_published": "2026-04-09T20:24:12.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's implementation of transcoding strings between components contains a bug where the return value of a guest component's <code>realloc</code> is not validated before the host attempts to write through the pointer. This enables a guest to cause the host to write arbitrary transcoded string bytes to an arbitrary location up to 4GiB away from the base of linear memory. These writes on the host could hit unmapped memory or could corrupt host data structures depending on Wasmtime's configuration.</p>\n<p>Wasmtime by default reserves 4GiB of virtual memory for a guest's linear memory meaning that this bug will by default on hosts cause the host to hit unmapped memory and abort the process due to an unhandled fault. Wasmtime can be configured, however, to reserve less memory for a guest and to remove all guard pages, so some configurations of Wasmtime may lead to corruption of data outside of a guest's linear memory, such as host data structures or other guests's linear memories. </p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 24.0.7, 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>There is no known workaround for this issue and affected hosts/embeddings are recommended to upgrade.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-35195\">https://nvd.nist.gov/vuln/detail/CVE-2026-35195</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0091.html\">https://rustsec.org/advisories/RUSTSEC-2026-0091.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-394w-hwhg-8vgm\">https://github.com/advisories/GHSA-394w-hwhg-8vgm</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm",
            "title": "[wasmtime] Wasmtime has out-of-bounds write or crash when transcoding component model strings",
            "date_modified": "2026-04-10T14:40:31.000Z",
            "date_published": "2026-04-09T20:24:12.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-394w-hwhg-8vgm"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's implementation of its pooling allocator contains a bug where in certain configurations the contents of linear memory can be leaked from one instance to the next. The implementation of resetting the virtual memory permissions for linear memory used the wrong predicate to determine if resetting was necessary, where the compilation process used a different predicate. This divergence meant that the pooling allocator incorrectly deduced at runtime that resetting virtual memory permissions was not necessary while compile-time determine that virtual memory could be relied upon.</p>\n<p>Exposing this bug requires specific configuration values to be used. If any of these configurations are not applicable then this bug does not happen:</p>\n<ul>\n<li>The pooling allocator must be in use.</li>\n<li>The <code>Config::memory_guard_size</code> configuration option must be 0.</li>\n<li>The <code>Config::memory_reservation</code> configuration must be less than 4GiB.</li>\n<li>The pooling allocator must be configured with <code>max_memory_size</code> the same as the <code>memory_reservation</code> value.</li>\n</ul>\n<p>If all of these conditions are applicable then when a linear memory is reused the VM permissions of the previous iteration are not reset. This means that the compiled code, which is assuming out-of-bounds loads will segfault, will not actually segfault and can read the previous contents of linear memory if it was previously mapped.</p>\n<p>This represents a data leakage vulnerability between guest WebAssembly instances which breaks WebAssembly's semantics and additionally breaks the sandbox that Wasmtime provides. Wasmtime is not vulnerable to this issue with its default settings, nor with the default settings of the pooling allocator, but embeddings are still allowed to configure these values to cause this vulnerability.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>All four conditions above must be met to be vulnerable to this bug, and users can work around this bug by adjusting any of the above conditions. For example it is strongly recommended that guard pages are configured for linear memories which would make this bug not applicable.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34988\">https://nvd.nist.gov/vuln/detail/CVE-2026-34988</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0088.html\">https://rustsec.org/advisories/RUSTSEC-2026-0088.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-6wgr-89rj-399p\">https://github.com/advisories/GHSA-6wgr-89rj-399p</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-6wgr-89rj-399p",
            "title": "[wasmtime] Wasmtime has data leakage between pooling allocator instances",
            "date_modified": "2026-04-10T14:40:08.000Z",
            "date_published": "2026-04-09T20:23:58.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-6wgr-89rj-399p"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's implementation of its pooling allocator contains a bug where in certain configurations the contents of linear memory can be leaked from one instance to the next. The implementation of resetting the virtual memory permissions for linear memory used the wrong predicate to determine if resetting was necessary, where the compilation process used a different predicate. This divergence meant that the pooling allocator incorrectly deduced at runtime that resetting virtual memory permissions was not necessary while compile-time determine that virtual memory could be relied upon.</p>\n<p>Exposing this bug requires specific configuration values to be used. If any of these configurations are not applicable then this bug does not happen:</p>\n<ul>\n<li>The pooling allocator must be in use.</li>\n<li>The <code>Config::memory_guard_size</code> configuration option must be 0.</li>\n<li>The <code>Config::memory_reservation</code> configuration must be less than 4GiB.</li>\n<li>The pooling allocator must be configured with <code>max_memory_size</code> the same as the <code>memory_reservation</code> value.</li>\n</ul>\n<p>If all of these conditions are applicable then when a linear memory is reused the VM permissions of the previous iteration are not reset. This means that the compiled code, which is assuming out-of-bounds loads will segfault, will not actually segfault and can read the previous contents of linear memory if it was previously mapped.</p>\n<p>This represents a data leakage vulnerability between guest WebAssembly instances which breaks WebAssembly's semantics and additionally breaks the sandbox that Wasmtime provides. Wasmtime is not vulnerable to this issue with its default settings, nor with the default settings of the pooling allocator, but embeddings are still allowed to configure these values to cause this vulnerability.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>All four conditions above must be met to be vulnerable to this bug, and users can work around this bug by adjusting any of the above conditions. For example it is strongly recommended that guard pages are configured for linear memories which would make this bug not applicable.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34988\">https://nvd.nist.gov/vuln/detail/CVE-2026-34988</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0088.html\">https://rustsec.org/advisories/RUSTSEC-2026-0088.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-6wgr-89rj-399p\">https://github.com/advisories/GHSA-6wgr-89rj-399p</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-6wgr-89rj-399p",
            "title": "[wasmtime] Wasmtime has data leakage between pooling allocator instances",
            "date_modified": "2026-04-10T14:40:08.000Z",
            "date_published": "2026-04-09T20:23:58.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-6wgr-89rj-399p"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's implementation of its pooling allocator contains a bug where in certain configurations the contents of linear memory can be leaked from one instance to the next. The implementation of resetting the virtual memory permissions for linear memory used the wrong predicate to determine if resetting was necessary, where the compilation process used a different predicate. This divergence meant that the pooling allocator incorrectly deduced at runtime that resetting virtual memory permissions was not necessary while compile-time determine that virtual memory could be relied upon.</p>\n<p>Exposing this bug requires specific configuration values to be used. If any of these configurations are not applicable then this bug does not happen:</p>\n<ul>\n<li>The pooling allocator must be in use.</li>\n<li>The <code>Config::memory_guard_size</code> configuration option must be 0.</li>\n<li>The <code>Config::memory_reservation</code> configuration must be less than 4GiB.</li>\n<li>The pooling allocator must be configured with <code>max_memory_size</code> the same as the <code>memory_reservation</code> value.</li>\n</ul>\n<p>If all of these conditions are applicable then when a linear memory is reused the VM permissions of the previous iteration are not reset. This means that the compiled code, which is assuming out-of-bounds loads will segfault, will not actually segfault and can read the previous contents of linear memory if it was previously mapped.</p>\n<p>This represents a data leakage vulnerability between guest WebAssembly instances which breaks WebAssembly's semantics and additionally breaks the sandbox that Wasmtime provides. Wasmtime is not vulnerable to this issue with its default settings, nor with the default settings of the pooling allocator, but embeddings are still allowed to configure these values to cause this vulnerability.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>All four conditions above must be met to be vulnerable to this bug, and users can work around this bug by adjusting any of the above conditions. For example it is strongly recommended that guard pages are configured for linear memories which would make this bug not applicable.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34988\">https://nvd.nist.gov/vuln/detail/CVE-2026-34988</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0088.html\">https://rustsec.org/advisories/RUSTSEC-2026-0088.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-6wgr-89rj-399p\">https://github.com/advisories/GHSA-6wgr-89rj-399p</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-6wgr-89rj-399p",
            "title": "[wasmtime] Wasmtime has data leakage between pooling allocator instances",
            "date_modified": "2026-04-10T14:40:08.000Z",
            "date_published": "2026-04-09T20:23:58.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-6wgr-89rj-399p"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>In version 43.0.0 of the <code>wasmtime</code> crate, cloning a <code>wasmtime::Linker</code> is unsound and can result in use-after-free bugs.</p>\n<p>This bug is not controllable by guest Wasm programs. It can only be triggered by a specific sequence of embedder API calls made by the host.</p>\n<p>The typical symptom of this use-after-free bug is a segfault. It does not enable heap corruption or data leakage.</p>\n<p>If you are using the <code>wasmtime</code> CLI, rather than the embedding API, you are not affected. If you are using the embedding API but are not calling <code>wasmtime::Linker</code>'s <code>Clone</code> implementation, you are not affected.</p>\n<p>Specifically, the following steps must occur to trigger the bug:</p>\n<ul>\n<li>Clone a <code>wasmtime::Linker</code></li>\n<li>Drop the original linker instance</li>\n<li>Use the new, cloned linker instance, resulting in a use-after-free</li>\n</ul>\n<h3 id=\"patches\">Patches</h3>\n<p>This bug has been patched in Wasmtime version 43.0.1</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>Wasmtime embedders are highly encouraged to upgrade their <code>wasmtime</code> crate dependency.</p>\n<p>If upgrading is not an option, or as a temporary workaround before upgrading, you can avoid this bug by not cloning <code>wasmtime::Linker</code> and instead creating a new, empty <code>wasmtime::Linker</code> and manually reregistering the host APIs from the original linker:</p>\n<pre><code class=\"language-rust\">use wasmtime::{Linker, Result, Store};\n\nfn clone_linker&lt;T&gt;(linker: &amp;Linker&lt;T&gt;, store: &amp;mut Store&lt;T&gt;) -&gt; Result&lt;Linker&lt;T&gt;&gt; {\n    let mut cloned = Linker::new();\n    for (module, name, item) in linker.iter(store) {\n        cloned.define(module, name, item)?;\n    }\n    Ok(cloned)\n}\n</code></pre>\n<h3 id=\"references\">References</h3>\n<p>This bug was introduced during an internal refactoring that was part of our efforts to <a href=\"https://github.com/bytecodealliance/wasmtime/issues/12069\">robustly handle allocation failure in Wasmtime</a>. This refactoring introduced an string-interning pool which had an unsound <code>TryClone</code>[^try-clone] implementation.</p>\n<p>[^try-clone]: <a href=\"https://github.com/bytecodealliance/wasmtime/blob/33e8b3d955697587b23cf39d87fbcbdb4d26b0c9/crates/core/src/alloc/try_clone.rs#L5-L17\">The <code>TryClone</code> trait</a> is our version of the Rust standard library's <code>Clone</code> trait that allows for returning <code>OutOfMemory</code> errors.</p>\n<ul>\n<li>The <code>StringPool</code> was introduced in <a href=\"https://github.com/bytecodealliance/wasmtime/pull/12536\">https://github.com/bytecodealliance/wasmtime/pull/12536</a>, at which time the bug in <code>TryClone for StringPool</code> was already present, although this code path was not yet used anywhere.</li>\n<li><code>wasmtime::Linker</code> was refactored to internally use <code>StringPool</code> in <a href=\"https://github.com/bytecodealliance/wasmtime/pull/12537\">https://github.com/bytecodealliance/wasmtime/pull/12537</a>, at which time the buggy code path became accessible.</li>\n<li>This bug was originally reported to the Wasmtime maintainers as <a href=\"https://github.com/bytecodealliance/wasmtime/pull/12906\">https://github.com/bytecodealliance/wasmtime/pull/12906</a></li>\n</ul>\n<h3 id=\"references-1\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hfr4-7c6c-48w2\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hfr4-7c6c-48w2</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34983\">https://nvd.nist.gov/vuln/detail/CVE-2026-34983</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0090.html\">https://rustsec.org/advisories/RUSTSEC-2026-0090.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-hfr4-7c6c-48w2\">https://github.com/advisories/GHSA-hfr4-7c6c-48w2</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-hfr4-7c6c-48w2",
            "title": "[wasmtime] Wasmtime has use-after-free bug after cloning `wasmtime::Linker`",
            "date_modified": "2026-04-10T14:39:55.000Z",
            "date_published": "2026-04-09T20:23:44.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-hfr4-7c6c-48w2"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Cranelift compilation backend contains a bug on aarch64 when performing a certain shape of heap accesses which means that the wrong address is accessed. When combined with explicit bounds checks a guest WebAssembly module this can create a situation where there are two diverging computations for the same address: one for the address to bounds-check and one for the address to load. This difference in address being operated on means that a guest module can pass a bounds check but then load a different address. Combined together this enables an arbitrary read/write primitive for guest WebAssembly when accesssing host memory. This is a sandbox escape as guests are able to read/write arbitrary host memory.</p>\n<p>This vulnerability has a few ingredients, all of which must be met, for this situation to occur and bypass the sandbox restrictions:</p>\n<ul>\n<li>This miscompiled shape of load only occurs on 64-bit WebAssembly linear memories, or when <code>Config::wasm_memory64</code> is enabled. 32-bit WebAssembly is not affected.</li>\n<li>Spectre mitigations or signals-based-traps must be disabled. When spectre mitigations are enabled then the offending shape of load is not generated. When signals-based-traps are disabled then spectre mitigations are also automatically disabled.</li>\n</ul>\n<p>The specific bug in Cranelift is a miscompile of a load of the shape <code>load(iadd(base, ishl(index, amt)))</code> where <code>amt</code> is a constant. The <code>amt</code> value is masked incorrectly to test if it's a certain value, and this incorrect mask means that Cranelift can pattern-match this lowering rule during instruction selection erroneously, diverging from WebAssembly's and Cranelift's semantics. This incorrect lowering would, for example, load an address much further away than intended as the correct address's computation would have wrapped around to a smaller value insetad.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>This bug only affects users of Cranelift on aarch64. Cranelift on other platforms is not affected. Additionally this only affects 64-bit WebAssembly linear memories, so if <code>Config::wasm_memory64</code> is disabled then hosts are not affected. Note that <code>Config::wasm_memory64</code> is enabled by default. If spectre mitigations are enabled, which are enabled by default, then hosts are not affected by this issue.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34971\">https://nvd.nist.gov/vuln/detail/CVE-2026-34971</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0096.html\">https://rustsec.org/advisories/RUSTSEC-2026-0096.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-jhxm-h53p-jm7w\">https://github.com/advisories/GHSA-jhxm-h53p-jm7w</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-jhxm-h53p-jm7w",
            "title": "[wasmtime] Wasmtime: Miscompiled guest heap access enables sandbox escape on aarch64 Cranelift",
            "date_modified": "2026-04-10T14:41:21.000Z",
            "date_published": "2026-04-09T20:23:26.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-jhxm-h53p-jm7w"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Cranelift compilation backend contains a bug on aarch64 when performing a certain shape of heap accesses which means that the wrong address is accessed. When combined with explicit bounds checks a guest WebAssembly module this can create a situation where there are two diverging computations for the same address: one for the address to bounds-check and one for the address to load. This difference in address being operated on means that a guest module can pass a bounds check but then load a different address. Combined together this enables an arbitrary read/write primitive for guest WebAssembly when accesssing host memory. This is a sandbox escape as guests are able to read/write arbitrary host memory.</p>\n<p>This vulnerability has a few ingredients, all of which must be met, for this situation to occur and bypass the sandbox restrictions:</p>\n<ul>\n<li>This miscompiled shape of load only occurs on 64-bit WebAssembly linear memories, or when <code>Config::wasm_memory64</code> is enabled. 32-bit WebAssembly is not affected.</li>\n<li>Spectre mitigations or signals-based-traps must be disabled. When spectre mitigations are enabled then the offending shape of load is not generated. When signals-based-traps are disabled then spectre mitigations are also automatically disabled.</li>\n</ul>\n<p>The specific bug in Cranelift is a miscompile of a load of the shape <code>load(iadd(base, ishl(index, amt)))</code> where <code>amt</code> is a constant. The <code>amt</code> value is masked incorrectly to test if it's a certain value, and this incorrect mask means that Cranelift can pattern-match this lowering rule during instruction selection erroneously, diverging from WebAssembly's and Cranelift's semantics. This incorrect lowering would, for example, load an address much further away than intended as the correct address's computation would have wrapped around to a smaller value insetad.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>This bug only affects users of Cranelift on aarch64. Cranelift on other platforms is not affected. Additionally this only affects 64-bit WebAssembly linear memories, so if <code>Config::wasm_memory64</code> is disabled then hosts are not affected. Note that <code>Config::wasm_memory64</code> is enabled by default. If spectre mitigations are enabled, which are enabled by default, then hosts are not affected by this issue.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34971\">https://nvd.nist.gov/vuln/detail/CVE-2026-34971</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0096.html\">https://rustsec.org/advisories/RUSTSEC-2026-0096.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-jhxm-h53p-jm7w\">https://github.com/advisories/GHSA-jhxm-h53p-jm7w</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-jhxm-h53p-jm7w",
            "title": "[wasmtime] Wasmtime: Miscompiled guest heap access enables sandbox escape on aarch64 Cranelift",
            "date_modified": "2026-04-10T14:41:21.000Z",
            "date_published": "2026-04-09T20:23:26.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-jhxm-h53p-jm7w"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Cranelift compilation backend contains a bug on aarch64 when performing a certain shape of heap accesses which means that the wrong address is accessed. When combined with explicit bounds checks a guest WebAssembly module this can create a situation where there are two diverging computations for the same address: one for the address to bounds-check and one for the address to load. This difference in address being operated on means that a guest module can pass a bounds check but then load a different address. Combined together this enables an arbitrary read/write primitive for guest WebAssembly when accesssing host memory. This is a sandbox escape as guests are able to read/write arbitrary host memory.</p>\n<p>This vulnerability has a few ingredients, all of which must be met, for this situation to occur and bypass the sandbox restrictions:</p>\n<ul>\n<li>This miscompiled shape of load only occurs on 64-bit WebAssembly linear memories, or when <code>Config::wasm_memory64</code> is enabled. 32-bit WebAssembly is not affected.</li>\n<li>Spectre mitigations or signals-based-traps must be disabled. When spectre mitigations are enabled then the offending shape of load is not generated. When signals-based-traps are disabled then spectre mitigations are also automatically disabled.</li>\n</ul>\n<p>The specific bug in Cranelift is a miscompile of a load of the shape <code>load(iadd(base, ishl(index, amt)))</code> where <code>amt</code> is a constant. The <code>amt</code> value is masked incorrectly to test if it's a certain value, and this incorrect mask means that Cranelift can pattern-match this lowering rule during instruction selection erroneously, diverging from WebAssembly's and Cranelift's semantics. This incorrect lowering would, for example, load an address much further away than intended as the correct address's computation would have wrapped around to a smaller value insetad.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>This bug only affects users of Cranelift on aarch64. Cranelift on other platforms is not affected. Additionally this only affects 64-bit WebAssembly linear memories, so if <code>Config::wasm_memory64</code> is disabled then hosts are not affected. Note that <code>Config::wasm_memory64</code> is enabled by default. If spectre mitigations are enabled, which are enabled by default, then hosts are not affected by this issue.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34971\">https://nvd.nist.gov/vuln/detail/CVE-2026-34971</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0096.html\">https://rustsec.org/advisories/RUSTSEC-2026-0096.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-jhxm-h53p-jm7w\">https://github.com/advisories/GHSA-jhxm-h53p-jm7w</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-jhxm-h53p-jm7w",
            "title": "[wasmtime] Wasmtime: Miscompiled guest heap access enables sandbox escape on aarch64 Cranelift",
            "date_modified": "2026-04-10T14:41:21.000Z",
            "date_published": "2026-04-09T20:23:26.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-jhxm-h53p-jm7w"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Winch compiler contains a vulnerability where the compilation of the <code>table.fill</code> instruction can result in a host panic. This means that a valid guest can be compiled with Winch, on any architecture, and cause the host to panic. This represents a denial-of-service vulnerability in Wasmtime due to guests being able to trigger a panic.</p>\n<p>The specific issue is that a historical refactoring, #11254, changed how compiled code referenced tables within the <code>table.*</code> instructions. This refactoring forgot to update the Winch code paths associated as well, meaning that Winch was using the wrong indexing scheme. Due to the feature support of Winch the only problem that can result is tables being mixed up or nonexistent tables being used, meaning that the guest is limited to panicking the host (using a nonexistent table), or executing spec-incorrect behavior and modifying the wrong table.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>Users of Cranelift are not affected by this issue, but for users of Winch there is no workaround for this bug. Hosts are recommended to updated to a patched version of Wasmtime.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q49f-xg75-m9xw\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q49f-xg75-m9xw</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34946\">https://nvd.nist.gov/vuln/detail/CVE-2026-34946</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0089.html\">https://rustsec.org/advisories/RUSTSEC-2026-0089.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-q49f-xg75-m9xw\">https://github.com/advisories/GHSA-q49f-xg75-m9xw</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-q49f-xg75-m9xw",
            "title": "[wasmtime] Wasmtime has host panic when Winch compiler executes `table.fill`",
            "date_modified": "2026-04-10T14:39:40.000Z",
            "date_published": "2026-04-09T20:23:21.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-q49f-xg75-m9xw"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Winch compiler contains a vulnerability where the compilation of the <code>table.fill</code> instruction can result in a host panic. This means that a valid guest can be compiled with Winch, on any architecture, and cause the host to panic. This represents a denial-of-service vulnerability in Wasmtime due to guests being able to trigger a panic.</p>\n<p>The specific issue is that a historical refactoring, #11254, changed how compiled code referenced tables within the <code>table.*</code> instructions. This refactoring forgot to update the Winch code paths associated as well, meaning that Winch was using the wrong indexing scheme. Due to the feature support of Winch the only problem that can result is tables being mixed up or nonexistent tables being used, meaning that the guest is limited to panicking the host (using a nonexistent table), or executing spec-incorrect behavior and modifying the wrong table.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>Users of Cranelift are not affected by this issue, but for users of Winch there is no workaround for this bug. Hosts are recommended to updated to a patched version of Wasmtime.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q49f-xg75-m9xw\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q49f-xg75-m9xw</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34946\">https://nvd.nist.gov/vuln/detail/CVE-2026-34946</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0089.html\">https://rustsec.org/advisories/RUSTSEC-2026-0089.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-q49f-xg75-m9xw\">https://github.com/advisories/GHSA-q49f-xg75-m9xw</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-q49f-xg75-m9xw",
            "title": "[wasmtime] Wasmtime has host panic when Winch compiler executes `table.fill`",
            "date_modified": "2026-04-10T14:39:40.000Z",
            "date_published": "2026-04-09T20:23:21.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-q49f-xg75-m9xw"
            },
            "tags": [
                "severity"
            ]
        },
        {
            "content_html": "<h3 id=\"impact\">Impact</h3>\n<p>Wasmtime's Winch compiler contains a vulnerability where the compilation of the <code>table.fill</code> instruction can result in a host panic. This means that a valid guest can be compiled with Winch, on any architecture, and cause the host to panic. This represents a denial-of-service vulnerability in Wasmtime due to guests being able to trigger a panic.</p>\n<p>The specific issue is that a historical refactoring, #11254, changed how compiled code referenced tables within the <code>table.*</code> instructions. This refactoring forgot to update the Winch code paths associated as well, meaning that Winch was using the wrong indexing scheme. Due to the feature support of Winch the only problem that can result is tables being mixed up or nonexistent tables being used, meaning that the guest is limited to panicking the host (using a nonexistent table), or executing spec-incorrect behavior and modifying the wrong table.</p>\n<h3 id=\"patches\">Patches</h3>\n<p>Wasmtime 36.0.7, 42.0.2, and 43.0.1 have been issued to fix this bug. Users are recommended to update to these patched versions of Wasmtime.</p>\n<h3 id=\"workarounds\">Workarounds</h3>\n<p>Users of Cranelift are not affected by this issue, but for users of Winch there is no workaround for this bug. Hosts are recommended to updated to a patched version of Wasmtime.</p>\n<h3 id=\"references\">References</h3>\n<ul>\n<li><a href=\"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q49f-xg75-m9xw\">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q49f-xg75-m9xw</a></li>\n<li><a href=\"https://nvd.nist.gov/vuln/detail/CVE-2026-34946\">https://nvd.nist.gov/vuln/detail/CVE-2026-34946</a></li>\n<li><a href=\"https://rustsec.org/advisories/RUSTSEC-2026-0089.html\">https://rustsec.org/advisories/RUSTSEC-2026-0089.html</a></li>\n<li><a href=\"https://github.com/advisories/GHSA-q49f-xg75-m9xw\">https://github.com/advisories/GHSA-q49f-xg75-m9xw</a></li>\n</ul>\n",
            "url": "https://github.com/advisories/GHSA-q49f-xg75-m9xw",
            "title": "[wasmtime] Wasmtime has host panic when Winch compiler executes `table.fill`",
            "date_modified": "2026-04-10T14:39:40.000Z",
            "date_published": "2026-04-09T20:23:21.000Z",
            "author": {
                "name": "GitHub",
                "url": "https://github.com/advisories/GHSA-q49f-xg75-m9xw"
            },
            "tags": [
                "severity"
            ]
        }
    ]
}