
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-120665 is an improper certificate validation vulnerability in OpenSSL's Encrypted Client Hello (ECH) implementation that allows a network attacker who can forge DNS responses to impersonate any TLS server a client connects to. The flaw affects OpenSSL versions 4.0.0–4.0.3 and 4.1.0, and was disclosed on December 1, 2026. It is classified as CWE-295 (Improper Certificate Validation) and assessed as Moderate severity by OpenSSL (GitHub Advisory, OpenSSL Advisory). Only TLS clients explicitly configured to use ECH are affected; servers and GREASE-only ECH clients are not (GitHub Advisory).
The root cause (CWE-295) lies in tls_process_server_hello() within ssl/statem/statem_clnt.c, where the ECH accept/reject check for a subsequent ServerHello does not account for the outcome of a preceding HelloRetryRequest (HRR). When the HRR rejects ECH, the client correctly switches certificate verification to the ECH public name, but does not mark the rejection as final. If a following ServerHello signals ECH acceptance, the client calls ossl_ech_swaperoo() and reports ECH success while still verifying the server certificate against the public name rather than the application-specified name set via SSL_set1_dnsname(), SSL_set1_host(), or X509_VERIFY_PARAM_set1_host() (OpenSSL Commit 335f8ec). An attacker exploiting this must be able to forge DNS HTTPS records (which are unauthenticated without DNSSEC) to supply a malicious ECH configuration, then operate a rogue server that sends a HRR rejecting ECH followed by a ServerHello accepting it, presenting a certificate for an attacker-controlled domain (GitHub Advisory). ECH support was introduced in OpenSSL 4.0 and must be explicitly enabled by the application, limiting the attack surface.
A successful attack allows a network adversary to perform full server impersonation against any TLS server the victim client connects to using ECH. The client sends its application data — which may include credentials, session tokens, or sensitive payloads — to the attacker's server, and accepts the attacker's responses as authentic, enabling man-in-the-middle interception and manipulation of all application-layer traffic. Confidentiality and integrity of the TLS session are both fully compromised; availability is not directly impacted. The attack also applies to client-facing servers in split-mode ECH deployments, which hold the ECH private key and a certificate for the public name but must not be able to impersonate backend servers (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (GitHub Advisory). Exploitation requires a network-positioned attacker capable of forging DNS responses (e.g., via DNS cache poisoning or a rogue DNS resolver), and the victim must be using an OpenSSL 4.0.x or 4.1.0 client with ECH explicitly configured. No CISA KEV listing or threat actor attribution has been reported. The EPSS score is not yet published. OpenSSL assessed the severity as Moderate given the prerequisite of DNS forgery capability and the requirement for ECH to be explicitly enabled (GitHub Advisory).
SSL_set1_ech_config_list()), which fetch ECH configurations from DNS HTTPS records.ECHConfig) for which the attacker holds the private key, with a public name pointing to an attacker-controlled domain for which a valid certificate exists.OSSL_TRACE category TLS) showing ECH falling back to public_name followed by ECH success in the same session, which should not occur in a legitimate handshake.SSL_ech_get1_status() reporting SSL_ECH_STATUS_SUCCESS while the inner SNI and outer (public) name differ unexpectedly from application-configured values.Upgrade OpenSSL to version 4.1.1 (for the 4.1.x branch) or 4.0.4 (for the 4.0.x branch), which contain the fix in commits 335f8ec and d04683c respectively (OpenSSL Advisory, GitHub Advisory). As a workaround prior to patching, deploy DNSSEC to authenticate DNS HTTPS records used to distribute ECH configurations, preventing DNS forgery. Additionally, restrict or disable ECH in applications where DNS responses cannot be trusted, and monitor DNS HTTPS record responses for unexpected changes.
Coverage appeared shortly after the December 1, 2026 disclosure across Linux-focused outlets and security aggregators, including Linuxiac reporting on the OpenSSL 4.1.1 release fixing sixteen vulnerabilities, and Linux Compatible summarizing the 18 CVE fixes across the 4.1, 4.0, and 3.5 LTS branches (Linuxiac, Linux Compatible). The vulnerability was also tracked by Cloudflare Radar and security intelligence platforms shortly after disclosure. Community reaction has been measured given the Moderate severity rating and the prerequisite of DNS forgery capability.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."