Vulnerability MediumRUSTSEC-2022-0045 · oqs
RUSTSEC-2022-0045: Post-Quantum Key Encapsulation Mechanism SIKE broken
Short answerA security vulnerability in the oqs crate: Post-Quantum Key Encapsulation Mechanism SIKE broken. GitHub rates it Medium. Fixed in 0.7.2: update to a fixed version.
| Crate | oqs |
|---|---|
| Type | Vulnerability (crypto-failure) |
| Affected versions | Before 0.7.2. |
| Fixed in | 0.7.2 |
| Severity | Medium (GitHub rating) |
| Published | 2022-07-30 |
| Last changed | 2023-11-08 |
| Also known as | GHSA-hrjv-pf36-jpmr |
What to do
- See which version you have:
cargo tree -i oqs(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p oqs. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleoqs = "0.7.2") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Wouter Castryck and Thomas Decru presented an efficient key recovery attack on the SIDH protocol. As a result, the secret key of SIKEp751 can be recovered in a matter of hours. The SIKE and SIDH schemes will be removed from oqs 0.7.2.
The affected schemes are the oqs::kem::Algorithm::Sike* and oqs::kem::Algorithm::Sidh* enum variants.
An efficient key recovery attack on SIDH (preliminary version)
References
- Package: crates.io/crates/oqs
- Advisory: rustsec.org/advisories/RUSTSEC-2022-0045.html
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for oqs
Up next
Same crateoqs: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?