Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. wasmtime
  4. ›
  5. CVE-2026-27195

CVE-2026-27195: Wasmtime is vulnerable to panic when dropping a `[Typed]Func::call_async` future

February 24, 2026

The affected versions of Wasmtime can panic if the host embedder drops the future returned by wasmtime::component::[Typed]Func::call_async before it resolves.

References

  • bytecodealliance.zulipchat.com/
  • github.com/advisories/GHSA-xjhv-v822-pf94
  • github.com/bytecodealliance/wasmtime
  • github.com/bytecodealliance/wasmtime/commit/9e51c0d9a240a9613d279c061f82286bd11383fd
  • github.com/bytecodealliance/wasmtime/commit/d86b00736b9ece60b3c81e52f7a7e4cdd9f7d895
  • github.com/bytecodealliance/wasmtime/releases/tag/v40.0.4
  • github.com/bytecodealliance/wasmtime/releases/tag/v41.0.4
  • github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xjhv-v822-pf94
  • nvd.nist.gov/vuln/detail/CVE-2026-27195

Code Behaviors & Features

Detect and mitigate CVE-2026-27195 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 39.0.0 before 40.0.4, all versions starting from 41.0.0 before 41.0.4

Fixed versions

  • 40.0.4
  • 41.0.4

Solution

Upgrade to versions 40.0.4, 41.0.4 or above.

Impact 5.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

cargo/wasmtime/CVE-2026-27195.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Feb 2026 12:19:09 +0000.