IntelligenceComponentscrates.io
orion
Pure Rust library offering ML-KEM, ML-DSA, X-Wing, HPKE, X25519, (X)ChaCha20-Poly1305, BLAKE2b, BLAKE3, SHA-2, SHA-3, HMAC, HKDF, PBKDF2, Argon2 and scrypt.
In short
What to know.
- Algorithms
- ML-KEM, ML-DSA, X25519MLKEM768, HPKE and 11 more2 of 15 would be broken by a large quantum computer.
- Advisories
- 4 in the storeOSV last read 3 December 2026, 16:50 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from HPKE, X25519 before large quantum computers exist.
4 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| LLVM introduces timing-vulnerable optimizations into ML-KEM and ML-DSA operations intended to be constant-time | RUSTSEC-2026-0426 | from 0.18.0-0 before 0.18.1 | Fixed in 0.18.1 | |
| BLAKE2b produces wrong tag when using `reset()` with a different-length key | RUSTSEC-2026-0428 | from 0.18.0-0 before 0.18.1 | Fixed in 0.18.1 | |
| Flaw in streaming state in orion | GHSA-gffv-5hr2-f9gj | before 0.11.2 | Fixed in 0.11.2 | Rated High |
| Flaw in streaming state reset() functions can create incorrect results. | RUSTSEC-2018-0012 | from 0.0.0-0 before 0.11.2 | Fixed in 0.11.2 |
3 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| BLAKE2b produces wrong tag when using `reset()` with a different-length key | NMN-2026-0105 | 3 December 2026 | |
| LLVM introduces timing-vulnerable optimizations into ML-KEM and ML-DSA operations intended to be constant-time | NMN-2026-0103 | 3 December 2026 | |
| Flaw in streaming state reset() functions can create incorrect results. | NMN-2026-0100 | 3 December 2026 |
Reviewed 3 December 2026
Sources
- crates.io metadata for orioncrates.ioRetrieved 3 December 2026
- orion 0.18.1 README on crates.iocrates.ioRetrieved 3 December 2026
- orion documentationdocs.rsRetrieved 3 December 2026
Full record
- Package
- orion
- Ecosystem
- crates.io
- Role
- Implementation
- Repository
- github.com/orion-rs/orion
- Status
- Not marked deprecated by its registry or maintainers.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:50 UTC
- Findings
- 3 listed above.
Algorithms it provides
- ML-KEM kemPost-quantumDesigned to resist
- ML-DSA signaturePost-quantumDesigned to resist
- X25519MLKEM768 kemHybridHybrid
- HPKE public-key-encryptionClassical public keyBroken by Shor's algorithm
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- ChaCha20-Poly1305 aeadSymmetricWeakened by Grover's search
- BLAKE2 (BLAKE2b, BLAKE2s) hashHashWeakened by Grover's search
- BLAKE3 hashHashWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- SHA-3 and SHAKE hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
- Argon2 password-hashSymmetricWeakened by Grover's search
- scrypt password-hashSymmetricWeakened by Grover's search
What a large quantum computer would change
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-KEM, ML-DSA
- HybridCombines a classical scheme with a post-quantum one, so an attacker has to break both parts.X25519MLKEM768
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.HPKE, X25519
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.ChaCha20-Poly1305, BLAKE2 (BLAKE2b, BLAKE2s), BLAKE3, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), SHA-3 and SHAKE, HMAC, HKDF, PBKDF2, Argon2, scrypt
Notes describe algorithm families, not any one project.