Announce: https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html Security advisory for the standard library: https://blog.rust-lang.org/2019/05/13/Security-advisory.html In short, starting with 1.34.0, you can "safely" cast a type to the wrong type by using Error::type_id function in the standard library. As it could result out of bounds reads/writes/etc it is considered as security issue.