Rustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 Secret Exposure via Debug

State
Published
Severity
4.1 Medium
Published
Nov 8, 2026
Updated
Nov 10, 2026
Reserved
Nov 6, 2026

Read the record on cve.org

Description

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.

ProductVersions
rustls rustlsbefore 0.23.46 Affected0.23.46 Not Affected0.24.0-dev.1 to before 0.24.0-dev.2 Affected0.24.0-dev.2 Not Affected

Weaknesses

  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.