Rustls 0.23.46 Fixes TLS Secret Exposure, Memory Exhaustion and Key-Exchange Downgrade
Vulnerability Disclosure · 5 sources · Updated 1mo ago · First seen Oct 14, 2026

Rustls released version 0.23.46 to fix four security vulnerabilities affecting the Rust-based TLS library. A medium-severity flaw, RUSTSEC-2026-0346 (CVSS 4.0), exposes TLS 1.2 master secrets or TLS 1.3 resumption keys when applications log client session values using their debug formatting; ordinary connection and built-in session-cache debug output remain unaffected. A low-severity denial-of-service flaw, RUSTSEC-2026-0348, lets an unauthenticated peer trigger an allocation of up to 1 GiB with a five-byte Brotli header, potentially terminating the process. It affects deployments enabling the non-default Brotli feature: clients connecting to malicious servers and servers requesting client certificates. OpenAI discovered and reported 13 bugs fixed in the release, including two security issues.
The release also fixes two low-severity confidentiality weaknesses. RUSTSEC-2026-0349 allows an unauthenticated ServerHello to poison cached key-share predictions, potentially causing later connections to use classical X25519 rather than hybrid post-quantum key exchange. Exploitation depends on client session storage and server policy; it does not bypass authentication or directly compromise keys. RUSTSEC-2026-0347 affects versions 0.23.44–0.23.45, allowing buffered application data to reach an authenticated client-facing server after it rejects Encrypted Client Hello (ECH), despite the application receiving a rejection error. An unauthenticated party cannot exploit that flaw. Organizations should upgrade affected dependencies to 0.23.46 or later, review custom session-store logging for exposed secrets, and identify deployments using Brotli decompression, hybrid key exchange or ECH.


