Skip to content
NOUMENResearch
Network
Engineering
, home page

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

Advisories for rustls
AdvisoryIdAffected versionsFixed inSource's rating
rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alertGHSA-vp88-798v-h67ffrom 0.23.44 before 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2Fixed in 0.23.46, 0.24.0-dev.2Rated Low
rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 shareGHSA-w44r-93j7-qv28before 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2Fixed in 0.23.46, 0.24.0-dev.2Rated Low
Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKsGHSA-c8m5-c952-6cm4before 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2Fixed in 0.23.46, 0.24.0-dev.2Rated Moderate
Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.GHSA-h2v8-394m-p7vvbefore 0.23.46; from 0.24.0-dev.1 before 0.24.0-dev.2Fixed in 0.23.46, 0.24.0-dev.2Rated Low
Brotli certificate decompression can allocate up to 1 GiB before authenticationRUSTSEC-2026-0348from 0.23.9 before 0.23.46Fixed in 0.23.46
Unauthenticated ServerHello can downgrade later connections to classical key exchangeRUSTSEC-2026-0349from 0.0.0-0 before 0.23.46Fixed in 0.23.46
`Debug` impls for client session values expose TLS secretsRUSTSEC-2026-0346from 0.21.0 before 0.23.46Fixed in 0.23.46
Buffered application data sent to outer server after ECH rejectionRUSTSEC-2026-0347from 0.23.44 before 0.23.46Fixed in 0.23.46
Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundariesGHSA-2mjx-qc3c-rqvcfrom 0.23.13 before 0.23.45Fixed in 0.23.45Rated Moderate
TLS 1.3 handshake messages incorrectly accepted across encryption level boundariesRUSTSEC-2026-0285from 0.23.13 before 0.23.45Fixed in 0.23.45
rustls network-reachable panic in `Acceptor::accept`GHSA-qg5g-gv98-5ffhfrom 0.23.13 before 0.23.18Fixed in 0.23.18Rated Moderate
rustls network-reachable panic in `Acceptor::accept`RUSTSEC-2024-0399from 0.23.13 before 0.23.18Fixed in 0.23.18
Denial of Service Vulnerability in Rustls LibraryGHSA-6g7w-8wpp-frhjfrom 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.20Fixed in 0.23.5, 0.22.4, 0.21.11Rated High
`rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network inputRUSTSEC-2024-0336from 0.23.0 before 0.23.5Fixed in 0.23.5

7 listed

Findings

Reviewed 3 December 2026

Sources

  1. crates.io metadata for rustlscrates.ioRetrieved 3 December 2026
  2. rustls 0.23.47 README on crates.iocrates.ioRetrieved 3 December 2026
  3. rustls documentation: all itemsdocs.rsRetrieved 3 December 2026

Full record

Package
rustls
Ecosystem
crates.io
Role
Protocol
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

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.