# memoffset (crates.io)

offset_of functionality for Rust structs.

- Latest: 0.9.1 (2024-03-26)
- Licence: MIT
- Downloads: 168687353 last 90 days
- Advisories on the latest version: 0

- GHSA-wfg4-322g-9vqv MODERATE: memoffset allows reading uninitialized memory Fixed in 0.6.2.
- RUSTSEC-2023-0045 : memoffset allows reading uninitialized memory Fixed in 0.6.2.
- CVE-2019-15553 HIGH: Exposure of uninitialized memory in memoffset Fixed in 0.5.0.
- CVE-2019-15553 : Flaw in offset_of and span_of causes SIGILL, drops uninitialized memory of arbitrary type on panic in client code Fixed in 0.5.0.

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
