GHSA-c8m5-c952-6cm4 · RUSTSEC-2026-0346 · published 14 Oct 2026 · updated 12 Nov 2026
Rustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 Secret Exposure via Debug
4.0MediumCVSS 4.0EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.23.46, 0.24.0-dev.2, rustls 0.23.46 and 1 more.
Rustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 contains an information disclosure vulnerability where derived Debug formatting of client session values exposes secret key material. Custom ClientSessionStore implementations that log Tls12ClientSessionValue or Tls13ClientSessionValue can leak TLS 1.2 master secrets or TLS 1.3 resumption PSKs to log readers.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rustls | <0.23.46, >=0.24.0-dev.1 <0.24.0-dev.2 | 0.23.46, 0.24.0-dev.2 | |
| cargo: rustls | <0.23.46, >=0.21.0 <0.23.46, >=0.24.0-dev.1 <0.24.0-dev.2 | 0.23.46, 0.24.0-dev.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in rustls (Cargo), strongest first
Embed
A live severity badge for an advisory, README or ticket