Skip to content
OpenAdvisories

Package · crates.io

ntru

1 known vulnerabilities.

1 result · Feed

  • Medium —

    ntru-rs has unsound FFI: Wrong API usage causes write past allocated area

    The following usage causes undefined behavior. ```rust let kp: ntru::types::KeyPair = …; kp.get_public().export(Default::default()) ``` When compiled with debug assertions, the code above will trigger a `attempt to subtract with overflow` panic before UB occu…