CVE-2022-31146 is a use-after-free vulnerability in Wasmtime's Cranelift code generator, affecting bytecodealliance cranelift_codegen and wasmtime versions 0.37.0 to 0.38.1. The bug causes functions using reference types to incorrectly miss garbage collection metadata, leading to premature deallocation of values. This vulnerability carries a high CVSS score of 8.8, indicating a severe impact with high confidentiality, integrity, and availability risks, exploitable remotely with low privileges and no user interaction. There is currently no evidence of active exploitation, public exploit code, or significant community discussion, and it is not listed in CISA's KEV catalog.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 0.84.0, < 0.85.2CPE matchmatch criteria | cpe:2.3:a:bytecodealliance:cranelift-codegen:*:*:*:*:*:rust:*:* | ||
>= 0.37.0, < 0.38.2CPE matchmatch criteria | cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.