{"schema_version":"1.9.0","id":"RUSTSEC-2022-0016","published":"2022-03-31T12:00:00Z","modified":"2026-10-12T18:00:03.411218167Z","aliases":["CVE-2022-24791","GHSA-gwc9-348x-qwv2","RUSTSEC-2022-0099"],"summary":"Use after free with `externref`s and epoch interruption in Wasmtime","details":"[Use after free with `externref`s and epoch interruption in Wasmtime](https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gwc9-348x-qwv2)","affected":[{"package":{"name":"wasmtime","ecosystem":"crates.io","purl":"pkg:cargo/wasmtime"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.34.0"},{"fixed":"0.34.2"},{"introduced":"0.35.0"},{"fixed":"0.35.2"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["wasmtime::Config::epoch_interruption"],"os":[]}},"database_specific":{"categories":["memory-corruption","memory-exposure"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0016.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/wasmtime"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2022-0016.html"},{"type":"WEB","url":"https://github.com/bytecodealliance/wasmtime/commit/666c2554ea0e1728c35aa41178cf235920db888a"}],"database_specific":{"license":"CC0-1.0"}}