Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain read access to application logs
-
DeliveryCustom ClientSessionStore Debug-formats session value
-
ExploitMaster secret or resumption PSK written to log
-
ExecutionExtract key material from logs
-
ImpactDecrypt captured traffic or forge TLS resumption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V14 - Data Protection Data removal before release
|
| Exploitation Conditions | Exploitation is possible ONLY when the deployment uses a custom ClientSessionStore implementation that logs or Debug-formats Tls12ClientSessionValue or Tls13ClientSessionValue - rustls's built-in connection and cache diagnostics remain redacted, so default configurations are not affected. The affected versions are rustls < 0.23.46 and the pre-release line >= 0.24.0-dev.1 to < 0.24.0-dev.2. Realistic limits on exploitation: the non-default logging code must exist, TLS session resumption/caching must be in use to populate the secret-bearing values, and the attacker needs read access to the logs (local, privileged); per the CVSS vector this is AV:L/AC:H/AT:P/PR:H/UI:P, not remote unauthenticated. The 'attacker' is effectively a log reader rather than a network actor. |
| Impact | All signals point to a genuinely low-to-moderate priority despite the information-disclosure of secret key material. The input CVSS 4.0 base score is 4.1 (medium) and the vector is heavily gated: AV:L (local), AC:H (conditions apply), AT:P (attack requirements present), PR:H (high privileges), UI:P (user/operator interaction), with impact limited to VC:H and VI/VA:N - confidentiality-only. This is NOT in CISA KEV (no active-exploitation signal), and no EPSS score was supplied, so exploitation probability cannot be quantified from this data - state explicitly: EPSS is MISSING. The vuln.today decision label is 'this_month', consistent with routine patching rather than emergency action. Crucially, the leak is not a flaw in default rustls behavior: the advisory states that ordinary connection and built-in cache diagnostics remain redacted, and the exposure occurs only when a developer-written custom ClientSessionStore logs or otherwise Debug-formats the session values - a path the session-store interface already warns is sensitive. The advisory's 'Proof of concept' is a conceptual description of how a custom store could trigger the Debug trait; it is not verified as working exploit code, and there is no KEV/EPSS to contradict the low-urgency reading. Net: a real but narrow issue whose practical risk depends entirely on whether a deployment actually logs these values - most do not. |
| Exploit ScenarioDerived | An application built on a vulnerable rustls version uses a custom ClientSessionStore that logs (or Debug-formats) a Tls12ClientSessionValue or Tls13ClientSessionValue; the derived Debug formatter writes the TLS 1.2 master secret or TLS 1.3 resumption PSK into application logs. An insider or attacker with read access to those logs then extracts the key material to decrypt captured TLS traffic or forge session resumption. The advisory describes a conceptual PoC of this custom-store logging path, but no working exploit code is published, and exploitation only matters where such non-default logging exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Rustls before 0.23.46 and the 0.24.0-dev.1 pre-release can expose TLS 1.2 master secrets or TLS 1.3 resumption PSKs when a custom ClientSessionStore implementation logs or Debug-formats Tls12ClientSessionValue or Tls13ClientSessionValue. Default rustls connection and built-in cache diagnostics remain redacted, so only deployments with such a custom store and a local, high-privilege reader of its logs are affected. No public exploit code was identified at time of analysis; the advisory describes a proof-of-concept logging scenario, and fixed releases are 0.23.46 and 0.24.0-dev.2.
RemediationAI
Upgrade to rustls 0.23.46 on the 0.23.x line or to 0.24.0-dev.2 on the 0.24 pre-release line; these are the vendor-released fixed versions referenced in GHSA-c8m5-c952-6cm4 and implemented by pull requests 3299 and 3354. If immediate upgrade is not possible, audit custom ClientSessionStore implementations and stop logging or Debug-formatting Tls12ClientSessionValue and Tls13ClientSessionValue, and restrict read access to existing logs-removing that logging reduces diagnostic visibility but closes the exposure path. Built-in rustls diagnostics do not need changes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Rustls is a memory-safe TLS library written in Rust. The flaw is CWE-212, improper removal of sensitive information before storage or transfer: the derived Debug implementations for Tls12ClientSessionValue and Tls13ClientSessionValue include secret-bearing fields-the TLS 1.2 master secret and TLS 1.3 resumption PSK-instead of redacting them. The trigger requires a non-default custom ClientSessionStore that explicitly writes those values through Debug; the built-in connection and cache diagnostics are redacted, and TLS session resumption or caching must be active for those secret-bearing values to exist. This is a local information-disclosure path to log readers, not a network-facing TLS handshake flaw.
Know when Rustls gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Leak occurs only in non-default custom stores that log session values and requires privileged read access to those logs, so AV:L/AC:H/PR:H/UI:R; confidentiality-only, no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Rustls Information Disclosure and Protocol Flaws
View all 5A flaw was found in Rustls 0.23.13 and related APIs. Rated high severity (CVSS 7.5), this vulnerability is remotely expl
rustls-mio/examples/tlsserver.rs in the rustls crate before 0.16.0 for Rust allows attackers to cause a denial of servic
EUVD-2026-119368
GHSA-67mj-442h-2gp6
NVD
CVE.org
EPSS
Exploit-DB