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.
Published: 2026-11-08
Score: 4.1 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure via debug logging of TLS session secrets
Action: Patch
AI Analysis

Impact

The vulnerability occurs when the rustls library formats client session data for debugging. The debug formatting process unintentionally includes TLS master secret key material in the output. When a CustomClientSessionStore implementation logs Tls12ClientSessionValue or Tls13ClientSessionValue, the logs reveal TLS 1.2 master secrets or TLS 1.3 resumption pre‑shared keys, compromising confidentiality.

Affected Systems

The affected product is the rustls library from rustls_project. Versions prior to 0.23.46 and 0.24.0-dev.1 prior to 0.24.0-dev.2 are vulnerable. Applications embedding these versions are at risk if they perform debug logging of session values.

Risk and Exploitability

The CVSS score of 4.1 classifies this issue as low severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires access to application code that logs session objects or to read the logs; there is no remote code execution vector. The primary attack path is via log inspection or compromised log storage, representing a confidentiality breach for systems where logs may be exposed.

Generated by OpenCVE AI on November 8, 2026 at 02:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade rustls to version 0.23.46 or later, which removes the debug formatting bug.
  • If an upgrade is not immediately possible, modify the CustomClientSessionStore implementation to avoid invoking Debug formatting on Tls12ClientSessionValue or Tls13ClientSessionValue, or strip sensitive fields before logging.
  • Audit existing logs for exposure of TLS session data, purge or secure them, and restrict log access to authorized personnel only.

Generated by OpenCVE AI on November 8, 2026 at 02:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 01:45:00 +0000

Type Values Removed Values Added
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.
Title Rustls before 0.23.46 and 0.24.0-dev.1 before 0.24.0-dev.2 Secret Exposure via Debug
First Time appeared Rustls Project
Rustls Project rustls
Weaknesses CWE-212
CPEs cpe:2.3:a:rustls_project:rustls:*:*:*:*:*:*:*:*
Vendors & Products Rustls Project
Rustls Project rustls
References
Metrics cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 4.1, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Rustls Project Rustls
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T01:38:34.811Z

Reserved: 2026-11-06T01:02:39.794Z

Link: CVE-2026-123609

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T02:16:56.083

Modified: 2026-11-08T02:16:56.083

Link: CVE-2026-123609

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T04:30:14Z

Weaknesses
  • CWE-212

    Improper Removal of Sensitive Information Before Storage or Transfer