IntelligenceComponentscrates.io
rustls
TLS 1.2 and TLS 1.3 library in Rust whose cryptography comes from a pluggable provider, aws-lc-rs by default or ring.
In short
What to know.
- Algorithms
- X25519, ECDH (Weierstrass curves), X25519MLKEM768, ML-KEM and 10 more7 of 14 would be broken by a large quantum computer.
- Advisories
- 14 in the storeOSV last read 3 December 2026, 16:51 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from X25519, ECDH (Weierstrass curves), ECDSA on P-256, ECDSA on P-384, Ed25519, RSA signatures, HPKE before large quantum computers exist.
14 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alert | GHSA-vp88-798v-h67f | from 0.23.44 before 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2 | Fixed in 0.23.46, 0.24.0-dev.2 | Rated Low |
| rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share | GHSA-w44r-93j7-qv28 | before 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2 | Fixed in 0.23.46, 0.24.0-dev.2 | Rated Low |
| Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs | GHSA-c8m5-c952-6cm4 | before 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2 | Fixed in 0.23.46, 0.24.0-dev.2 | Rated Moderate |
| Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication. | GHSA-h2v8-394m-p7vv | before 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2 | Fixed in 0.23.46, 0.24.0-dev.2 | Rated Low |
| Brotli certificate decompression can allocate up to 1 GiB before authentication | RUSTSEC-2026-0348 | from 0.23.9 before 0.23.46 | Fixed in 0.23.46 | |
| Unauthenticated ServerHello can downgrade later connections to classical key exchange | RUSTSEC-2026-0349 | from 0.0.0-0 before 0.23.46 | Fixed in 0.23.46 | |
| `Debug` impls for client session values expose TLS secrets | RUSTSEC-2026-0346 | from 0.21.0 before 0.23.46 | Fixed in 0.23.46 | |
| Buffered application data sent to outer server after ECH rejection | RUSTSEC-2026-0347 | from 0.23.44 before 0.23.46 | Fixed in 0.23.46 | |
| Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries | GHSA-2mjx-qc3c-rqvc | from 0.23.13 before 0.23.45 | Fixed in 0.23.45 | Rated Moderate |
| TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries | RUSTSEC-2026-0285 | from 0.23.13 before 0.23.45 | Fixed in 0.23.45 | |
| rustls network-reachable panic in `Acceptor::accept` | GHSA-qg5g-gv98-5ffh | from 0.23.13 before 0.23.18 | Fixed in 0.23.18 | Rated Moderate |
| rustls network-reachable panic in `Acceptor::accept` | RUSTSEC-2024-0399 | from 0.23.13 before 0.23.18 | Fixed in 0.23.18 | |
| Denial of Service Vulnerability in Rustls Library | GHSA-6g7w-8wpp-frhj | from 0.23.0 before 0.23.5; from 0.22.0 before 0.22.4; from 0.21.0 before 0.21.11; listed versions 0.20 | Fixed in 0.23.5, 0.22.4, 0.21.11 | Rated High |
| `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input | RUSTSEC-2024-0336 | from 0.23.0 before 0.23.5 | Fixed in 0.23.5 |
7 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Unauthenticated ServerHello can downgrade later connections to classical key exchange | NMN-2026-0172 | 3 December 2026 | |
| Buffered application data sent to outer server after ECH rejection | NMN-2026-0170 | 3 December 2026 | |
| rustls network-reachable panic in `Acceptor::accept` | NMN-2026-0169 | 3 December 2026 | |
| Brotli certificate decompression can allocate up to 1 GiB before authentication | NMN-2026-0166 | 3 December 2026 | |
| `Debug` impls for client session values expose TLS secrets | NMN-2026-0164 | 3 December 2026 | |
| `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input | NMN-2026-0162 | 3 December 2026 | |
| TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries | NMN-2026-0160 | 3 December 2026 |
Reviewed 3 December 2026
Sources
- crates.io metadata for rustlscrates.ioRetrieved 3 December 2026
- rustls 0.23.47 README on crates.iocrates.ioRetrieved 3 December 2026
- rustls documentation: all itemsdocs.rsRetrieved 3 December 2026
Full record
- Package
- rustls
- Ecosystem
- crates.io
- Role
- Protocol
- Repository
- github.com/rustls/rustls
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- The X25519MLKEM768, SECP256R1MLKEM768 and pure ML-KEM key exchange groups and the HPKE suites are available with the aws-lc-rs provider; the ring provider offers X25519, P-256 and P-384 only.
- 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:51 UTC
- Findings
- 7 listed above.
Algorithms it provides
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
- X25519MLKEM768 kemHybridHybrid
- ML-KEM kemPost-quantumDesigned to resist
- 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
- AES-GCM aeadSymmetricWeakened by Grover's search
- ChaCha20-Poly1305 aeadSymmetricWeakened 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
- HPKE public-key-encryptionClassical public keyBroken by Shor's algorithm
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.X25519, ECDH (Weierstrass curves), ECDSA on P-256, ECDSA on P-384, Ed25519, RSA signatures, HPKE
- HybridCombines a classical scheme with a post-quantum one, so an attacker has to break both parts.X25519MLKEM768
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-KEM
- 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-2 (SHA-224, SHA-256, SHA-384, SHA-512), HMAC, HKDF
Notes describe algorithm families, not any one project.