This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate generic-array

Dependencies

(15 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arbitrary^11.4.2up to date
 as-slice^0.20.2.1up to date
 bitvec=1.0.11.1.1out of date
 bytecheck^0.80.8.3up to date
 bytemuck^11.25.2up to date
 const-default^11.0.0up to date
 faster-hex^0.100.10.0up to date
 generic-array^0.141.4.5out of date
 hybrid-array^0.40.4.14up to date
 rkyv ⚠️^0.80.8.18maybe insecure
 rustversion^11.0.23up to date
 serde_core^1.01.0.229up to date
 subtle^22.6.1up to date
 typenum^1.20.11.20.1up to date
 zeroize^11.9.0up to date

Dev dependencies

(7 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 aes^0.8.40.9.2out of date
 bincode^1.03.0.0out of date
 bytecheck^0.80.8.3up to date
 criterion^0.50.8.2out of date
 rand^0.90.10.2out of date
 rkyv ⚠️^0.80.8.18maybe insecure
 serde_json^1.01.0.151up to date

Security Vulnerabilities

rkyv: Crafted archives can cause a use-after-free during deserialization

RUSTSEC-2026-0233

Insufficient archive range validation could allow a crafted archive to reach ArchivedString::deserialize with an invalid pointer. A reported reproducer used rkyv::from_bytes to deserialize a struct containing strings, a vector, a box, and an optional hash map. AddressSanitizer detected a heap use-after-free during string deserialization.

The flaw could be triggered through the safe checked deserialization API when processing malicious archive bytes. Version 0.8.17 rejects the malformed archive during validation. Users who process untrusted archives should upgrade to 0.8.17 or later.

rkyv: Insufficient archive validation can cause out-of-bounds reads in archives containing hash tables

RUSTSEC-2026-0234

The archive validator could accept certain malformed relative pointers and invalid ArchivedHashTable states. In particular, the hash table verifier did not ensure that the number of occupied buckets matched the table's declared length.

A crafted archive could pass the checks performed by the safe rkyv::access and rkyv::from_bytes APIs and then cause an out-of-bounds read in later validation, lookup, or deserialization. Depending on the input, this could perform scalar or SIMD reads outside the archive buffer or crash the process.

Version 0.8.17 strengthens archive range validation and rejects hash tables whose number of occupied buckets does not match their declared length. Users who process untrusted archives should upgrade to 0.8.17 or later.

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.