Skip to content
OpenAdvisories

Package · crates.io

memoffset

2 known vulnerabilities.

2 results · Feed

  • Medium —

    memoffset allows reading uninitialized memory

    memoffset allows attempt of reading data from address `0` with arbitrary type. This behavior is an undefined behavior because address `0` to `std::mem::size_of<T>` may not have valid bit-pattern with `T`. Old implementation dereferences uninitialized memory o…

  • High 7.5

    Exposure of uninitialized memory in memoffset

    An issue was discovered in the memoffset crate before 0.5.0 for Rust. offset_of and span_of can cause exposure of uninitialized memory.