patchminder
Proof of concept · GitHub CVE-2022-23636

Vulnerabilityin bytecodealliance wasmtime.

Published 16 Feb 2022 · Updated 23 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 5.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 0.33.1, 0.34.1, 0.38.2
In plain words

Wasmtime is an open source runtime for WebAssembly & WASI. Prior to versions 0.34.1 and 0.33.1, there exists a bug in the pooling instance allocator in Wasmtime's runtime where a failure to instantiate an instance for a module that defines an `externref` global will result in an invalid drop of a `VMExternRef` via an uninitialized pointer. A number of conditions listed in the GitHub Security Advisory must be true in order for an instance to be vulnerable to this issue. Maintainers believe that the effective impact of this bug is relatively small because the usage of `externref` is still uncommon and without a resource limiter configured on the `Store`, which is not the default configuration, it is only possible to trigger the bug from an error returned by `mprotect` or `VirtualAlloc`.

What to do now
  • Upgrade wasmtime (crates.io) to 0.33.1, 0.34.1, 0.38.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
wasmtime
Not confirmed
Not confirmed
CVE record
wasmtime (crates.io)
0.34.0 to before 0.34.1
0.34.1
GitHub advisory
wasmtime (crates.io)
before 0.33.1
0.33.1
GitHub advisory
wasmtime (crates.io)
0.0.0-0 to before 0.38.2
0.38.2
GitHub advisory
wasmtime (crates.io)
0.0.0-0 to before 0.33.1
0.33.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Jan 2022
    CVE ID reserved by GitHub_M.
  2. 16 Feb 2022
    Published in the CVE List.
  3. 23 Apr 2025
    CVE record last updated.
  4. 27 Apr 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundcyhe50/cve-2022-23636-poc0 stars · created 27 Apr 2026

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other wasmtime vulnerabilities

Same weakness:

All CWE-824 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-23636: Vulnerability in bytecodealliance wasmtime. https://patchminder.com/cve/cve-2022-23636/ (accessed 5 December 2026).