Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-31146

27
FAUCET Score

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.

Impacted Technologies

VendorProductVersion(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 Data

CVSS version used by this source: 3.1

6.4MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
LOW
Availability Impact
LOW
Exploitability Score
1.6
Impact Score
4.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.11%
Probability of exploitation in next 30 days
EPSS Percentile
62.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0111 is in the 59th percentile among its peer group of 17,844 CVEs.

Social Chatter

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.

Media 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.

Remediation

Patch Available

Vendor Patches (3)

rustpatch availablevia ghsa
Product: wasmtimeFixed in: 0.38.2
rustpatch availablevia ghsa
Product: cranelift-codegenFixed in: 0.85.2
github_advisoryworkaround availablevia nvd_reference
View patch

Vendor Advisories (1)

rustGHSA-5fhj-g3p3-pq9gmedium

Wasmtime vulnerable to Use After Free with `externref`s

Jul 20, 2022

References

github.com / bytecodealliance/wasmtime
ProductThird Party Advisory
github.com / bytecodealliance/wasmtime/security/advisories/GHSA-5fhj-g3p3-pq9g
MitigationThird Party Advisory
github.com / WebAssembly/reference-types
Third Party Advisory