CVE-2026-140415: wasmtime-wasi-http: Empty Body Writes can result in Unbound Heap Usage with HTTP/2

Published Nov 16, 2026
·
Updated

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f8mm-ggr3-89wh For more information see the GitHub-hosted security advisory.

Other sources

wasmtime-wasi-http in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not reject zero-length writes to outgoing HTTP/2 bodies sent via hyper, and these empty DATA frames bypass flow-control and send-buffer limits. A malicious wasi-http guest paired with a slow or stalled peer can issue many empty writes to exhaust host memory.

— MITRE

Affected Software

5 affected componentsFixes available
crates/wasmtime-wasi-http<36.0.21, >=37.0.0<48.0.9, >=49.0.0<49.0.6, >=50.0.0<50.0.2
rust/wasmtime>=0.0.0-0<36.0.21
36.0.21
rust/wasmtime>=37.0.0<48.0.9
48.0.9
rust/wasmtime>=49.0.0<49.0.6
49.0.6
rust/wasmtime>=50.0.0<50.0.2
50.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 36.0.21
  2. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 48.0.9
  3. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 49.0.6
  4. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 50.0.2

Event History

Nov 16, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionAffected Software
Dec 1, 2026
CVE Published
via MITRE·02:28 PM
Data Sourced
via MITRE·02:28 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·02:28 PM
SeverityWeakness
Data Sourced
via NVD·03:18 PM
DescriptionSeverityWeakness
Event
via NVD·03:18 PM

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker needs to control or run a malicious wasi-http guest that can make outgoing HTTP/2 requests through hyper. Exploitation also requires a slow or stalled remote peer, allowing repeated zero-length body writes to accumulate host memory usage.

2

Which deployments are exposed?

Deployments using the wasmtime-wasi-http crate with affected Wasmtime releases are exposed when they permit untrusted or malicious guests to issue outgoing HTTP/2 requests. The issue concerns zero-length writes to outgoing HTTP/2 bodies.

3

Which versions should be remediated?

Upgrade to Wasmtime 36.0.21, 48.0.9, 49.0.6, or 50.0.2, as applicable to the release line in use. Affected ranges are releases before 36.0.21, 37.0.0 through before 48.0.9, 49.0.0 through before 49.0.6, and 50.0.0 through before 50.0.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203