---
id: CVE-2022-24791
aliases:
  - RUSTSEC-2022-0099
  - GHSA-gwc9-348x-qwv2
  - RUSTSEC-2022-0016
title: ' Use after free with `externref`s and epoch interruption in Wasmtime'
summary: ' Use after free with `externref`s and epoch interruption in Wasmtime'
severity: none
vendor: wasmtime
product: wasmtime
ecosystem: rust
affected:
  - 'wasmtime >= 0.35.0, < 0.35.2'
patched:
  - wasmtime 0.35.2
published: '2022-03-28'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T18:00:03.412319641Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2022-0099'
references:
  - url: 'https://crates.io/crates/wasmtime'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2022-0099.html'
  - url: >-
      https://github.com/bytecodealliance/wasmtime/commit/666c2554ea0e1728c35aa41178cf235920db888a
  - url: 'https://rustsec.org/advisories/RUSTSEC-2022-0016.html'
tags:
  - osv
  - rust
epss: 0.01179
epssPercentile: 0.67506
ingestedAt: '2026-10-13T11:45:30.154Z'
---

## Overview

This is an entry in the RustSec database for the Wasmtime security advisory
located at
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gwc9-348x-qwv2.
For more information see the GitHub-hosted security advisory.

## Affected packages

- `wasmtime >= 0.35.0, < 0.35.2`

## Remediation

Upgrade to a patched release:

- `wasmtime 0.35.2`
