Rustls vulnerabilities
10 vulnerabilities
Known vulnerabilities in Rustls products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 2 products.
Products
2RoutineCVE-2026-123613rustls +3 moreRustls 0.23.13 before 0.23.45 TLS 1.3 Handshake Encryption Level BypassRustls from 0.23.13 before 0.23.45 accepts TLS 1.3 handshake messages at the wrong encryption level when they follow a key-changing message in the same record, because Deframer::aligned does not enforce RFC 8446 record-boundary alignment. A peer or on-path attacker can pack a plaintext EncryptedExtensions with the ServerHello, which rustls accepts unencrypted.CVSS6.9MediumEPSS0.20%RoutineCVE-2026-123612rustls +3 morerustls 0.23.44 and 0.23.45 ECH Rejection Application Data Disclosurerustls 0.23.44 and 0.23.45 contain an information disclosure vulnerability that sends application data buffered before the handshake completes to the client-facing server when Encrypted Client Hello is rejected. Because start_traffic() queues plaintext from ClientConnection::writer() before sending the ech_required alert, the authenticated public_name server receives data intended for the inner server.CVSS4.6MediumEPSS0.15%RoutineCVE-2026-123611rustls +3 morerustls before 0.23.46 Key Exchange Downgrade via Unauthenticated ServerHellorustls before 0.23.46 contains a key exchange downgrade vulnerability that allows network attackers to poison the per-server-name key-exchange group record via an unauthenticated ServerHello. Attackers can answer one connection with a ServerHello selecting X25519, causing later ClientHellos to send only classical shares and lose post-quantum confidentiality.CVSS6.3MediumEPSS0.25%RoutineCVE-2026-123610rustls +3 morerustls before 0.23.46 Denial of Service via Brotli Certificate Decompressionrustls before 0.23.46 contains an uncontrolled memory allocation flaw in its optional Brotli certificate decompression, which limits decompressed output size but accepts an input-selected large history window. Malicious peers can send a certificate with a five-byte Brotli header requesting up to 1 GiB before authentication, aborting Brotli-enabled clients or client-authenticating servers whose allocator cannot satisfy the request.CVSS6.3MediumEPSS0.20%RoutineCVE-2026-123609rustls +3 moreRustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 Secret Exposure via DebugCustom ClientSessionStore implementations that log Tls12ClientSessionValue or Tls13ClientSessionValue can leak TLS 1.2 master secrets or TLS 1.3 resumption PSKs to log readers.CVSS4.1MediumEPSS0.14%RoutineCVE-2026-93602rustls · webpki +3 morerustls-webpki before 0.103.10 CRL Revocation Check Bypassrustls-webpki versions before 0.103.10 and 0.104.0-alpha.5 contain faulty CRL authority-matching logic that compares only the first distributionPoint against each CRL's IssuingDistributionPoint, ignoring additional distributionPoints. Attackers with a compromised trusted issuing authority can present revoked certificates that pass revocation checks under UnknownStatusPolicy::Allow, or cause incorrect errors under the default deny policy.CVSS5.9MediumEPSS0.20%RoutineCVE-2026-93601rustls · webpki +3 morerustls webpki 0.101.0 before 0.103.12 Name Constraint Bypassrustls-webpki (the Rust webpki fork used by rustls) versions >= 0.101.0 and prior to 0.103.12 and 0.104.0-alpha.6 incorrectly accepted permitted-subtree DNS name constraints for certificates asserting a wildcard name. For example, a name constraint of accept.example.com was treated as satisfied by a certificate for *.example.com, which could feasibly assert reject.example.com — a name outside the permitted subtree. Because name constraints are restrictions applied to otherwise properly issued certificates, the issue is only reachable after signature verification succeeds and requires a misissued wildcard certificate to exploit.CVSS2.2LowEPSS0.20%RoutineCVE-2026-93600rustls · webpki +3 morerustls webpki Name Constraints URI Validation Bypassrustls-webpki (rustls/webpki) versions 0.101.0 through 0.103.11 and 0.104.0-alpha releases before 0.104.0-alpha.6 ignore X.509 name constraints that apply to URI names, causing such constraints to be accepted rather than enforced. Because name constraints are restrictions on otherwise properly issued certificates, the flaw is only reachable after successful signature verification and requires a misissued certificate to exploit; the library also provides no API for asserting URI names, and URI name constraints are otherwise unimplemented. Versions 0.103.12 and 0.104.0-alpha.6 reject URI name constraints unconditionally.CVSS2.2LowEPSS0.20%PrioritiseCVE-2026-93599rustls · webpki +28 morerustls-webpki before 0.103.13 Panic via empty BIT STRINGrustls-webpki through 0.103.12 (and 0.104.0-alpha releases before 0.104.0-alpha.7) contains a reachable panic in bit_string_flags() in src/der.rs. The input guard fails to reject a named-bit BIT STRING whose content is exactly [0x00] (zero padding bits and no data bytes), so raw_bits.len() - 1 underflows on the empty slice and the subsequent index operation panics (subtract-with-overflow in debug, index-out-of-bounds in release). The condition is reachable through the public API BorrowedCertRevocationList::from_der() when a CRL contains an issuingDistributionPoint extension with such an onlySomeReasons value. Exploitation requires an application that explicitly opts in to CRL revocation checking by passing RevocationOptions to verify_for_usage() and that parses CRL bytes obtained from a source the attacker can influence; the default rustls configuration, which does not use RevocationOptions, is unaffected. A crafted CRL causes a denial of service via the panic. Fixed in 0.103.13 and 0.104.0-alpha.7.CVSS8.7HighEPSS0.35%PrioritiseCVE-2024-32650rustls +26 moreRustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client inputRustls is a modern TLS library written in Rust. `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input. When using a blocking rustls server, if a client send a `close_notify` message immediately after `client_hello`, the server's `complete_io` will get in an infinite loop. This vulnerability is fixed in 0.23.5, 0.22.4, and 0.21.11.CVSS7.5HighEPSS0.95%