{"id":"CVE-2022-31146","aliases":["RUSTSEC-2022-0100","GHSA-5fhj-g3p3-pq9g"],"title":"Use After Free with `externref`s in Wasmtime","summary":"Use After Free with `externref`s in Wasmtime","severity":"none","vendor":"wasmtime","product":"wasmtime","ecosystem":"rust","affected":["wasmtime >= 0.0.0-0, < 0.38.2"],"patched":["wasmtime 0.38.2"],"published":"2022-07-12","updated":"2026-10-12","sourceUpdated":"2026-10-12T18:00:06.108579592Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2022-0100","references":[{"url":"https://crates.io/crates/wasmtime"},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0100.html"},{"url":"https://github.com/bytecodealliance/wasmtime/commit/2ba4bce5cc719e5a74e571a534424614e62ecc41"}],"tags":["osv","rust"],"epss":0.0125,"epssPercentile":0.69479,"ingestedAt":"2026-10-13T11:45:30.160Z","slug":"CVE-2022-31146","body":"## Overview\n\nThis is an entry in the RustSec database for the Wasmtime security advisory\nlocated at\nhttps://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5fhj-g3p3-pq9g.\nFor more information see the GitHub-hosted security advisory.\n\n## Affected packages\n\n- `wasmtime >= 0.0.0-0, < 0.38.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `wasmtime 0.38.2`","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}