An issue exists in the rusqlite crate prior to 0.23.0 for Rust. Memory safety can be violated via the repr(Rust) type.
rusqlite project rusqlite