This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate wasmer-compiler

Dependencies

(11 total, 7 outdated, 1 insecure)

CrateRequiredLatestStatus
 enumset^1.01.1.14up to date
 hashbrown^0.110.17.1out of date
 loupe^0.10.2.0out of date
 rkyv ⚠️^0.7.200.8.18insecure
 serde^1.01.0.229up to date
 serde_bytes^0.110.11.19up to date
 smallvec^1.61.16.1up to date
 target-lexicon^0.12.20.13.5out of date
 thiserror^1.02.0.20out of date
 wasmer-types=2.3.07.4.2out of date
 wasmparser^0.830.259.0out of date

Security Vulnerabilities

rkyv: Insufficient archive validation can cause out-of-bounds reads in archives containing Rc/Arc

RUSTSEC-2026-0235

Shared pointer validation keyed already-validated pointees by their address and type, but did not include pointer metadata. For unsized pointees, an archive could therefore contain multiple Rc, Arc, or weak pointers that shared a data address but used different metadata, such as different slice lengths.

Once the first pointer had been validated, later pointers to the same address skipped pointee validation. The safe checked rkyv::access API could consequently return a slice with a forged length, allowing safe indexing to read out of bounds. The same validation bypass was reachable through checked deserialization with rkyv::from_bytes.

Version 0.8.17 includes pointer metadata in shared pointer validation and rejects conflicting metadata. The 0.7 series is also affected but is no longer supported by upstream. Users who process untrusted archives should upgrade to 0.8.17 or later.