IntelligenceComponentscrates.io
ring
Cryptographic library largely derived from BoringSSL, offering ECDSA P-256 and P-384, Ed25519, RSA signatures, X25519 and ECDH, AES-GCM, ChaCha20-Poly1305, SHA-1 and SHA-2, HMAC, HKDF, PBKDF2 and a system random generator.
In short
What to know.
- Algorithms
- ECDSA on P-256, ECDSA on P-384, Ed25519, RSA signatures and 10 more6 of 14 would be broken by a large quantum computer.
- Advisories
- 3 in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from ECDSA on P-256, ECDSA on P-384, Ed25519, RSA signatures, X25519, ECDH (Weierstrass curves) before large quantum computers exist.
3 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| Some AES functions may panic when overflow checking is enabled in ring | GHSA-4p46-pwfr-66x6 | before 0.17.12 | Fixed in 0.17.12 | Rated Moderate |
| Some AES functions may panic when overflow checking is enabled. | RUSTSEC-2025-0009 | from 0.0.0-0 before 0.17.12 | Fixed in 0.17.12 | |
| Versions of *ring* prior to 0.17 are unmaintained. | RUSTSEC-2025-0010 | from 0.0.0-0 before 0.17.0 | Fixed in 0.17.0 |
2 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Versions of *ring* prior to 0.17 are unmaintained. | NMN-2026-0092 | 3 December 2026 | |
| Some AES functions may panic when overflow checking is enabled. | NMN-2026-0090 | 3 December 2026 |
Reviewed 3 December 2026
Sources
- crates.io metadata for ringcrates.ioRetrieved 3 December 2026
- ring 0.17.14 README on crates.iocrates.ioRetrieved 3 December 2026
- ring documentation: all itemsdocs.rsRetrieved 3 December 2026
- RustSec advisory RUSTSEC-2025-0010: versions of ring prior to 0.17 are unmaintainedrustsec.orgRetrieved 3 December 2026
Full record
- Package
- ring
- Ecosystem
- crates.io
- Role
- Implementation
- Repository
- github.com/briansmith/ring
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- SHA-1 is exposed only under names marked for legacy use. RustSec advisory RUSTSEC-2025-0010 marks ring versions before 0.17 as unmaintained; 0.17 is the maintained line.
- 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:49 UTC
- Findings
- 2 listed above.
Algorithms it provides
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- RSA signatures signatureClassical public keyBroken by Shor's algorithm
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
- AES-GCM aeadSymmetricWeakened by Grover's search
- ChaCha20-Poly1305 aeadSymmetricWeakened by Grover's search
- SHA-1 hashHashWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
- Cryptographically strong random number generation rngOtherNot applicable
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.ECDSA on P-256, ECDSA on P-384, Ed25519, RSA signatures, X25519, ECDH (Weierstrass curves)
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.AES-GCM, ChaCha20-Poly1305, SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), HMAC, HKDF, PBKDF2
- Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation
Notes describe algorithm families, not any one project.