CVE-2026-120665 — OpenSSL
One of 4 OpenSSL vulnerabilities published together by NVD: our article covers all of them.
OpenSSLWebNetwork devicesVulnerabilitiesSummary
Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to accept a certificate for a domain chosen by an attacker as valid for the server name the application requested. Impact summary: An attacker who can forge DNS responses to a client can impersonate any server the client connects to using ECH. The client then sends its application data to the attacker and accepts the attacker's responses as coming from the requested server. CWE: CWE-295: Improper Certificate Validation Description: When ECH is rejected, a client verifies the server's certificate against the public name in the ECH configuration, so that it can obtain a corrected configuration, and then aborts the handshake. The server's first message decides whether ECH was accepted. If that message is a HelloRetryRequest which rejects ECH, the OpenSSL client switches certificate verification to the public name but does not treat the rejection as final. A following ServerHello which signals ECH acceptance then causes the client to complete the handshake and report ECH success, while the certificate is still checked against the public name instead of the name the application set with SSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host(). ECH configurations are normally obtained from DNS HTTPS records, which are not authenticated unless DNSSEC is used. An attacker who can forge those records can give the client an ECH configuration for which it holds the private key, with a public name for a domain it controls and holds a valid certificate for. The same forged DNS responses can direct the client to connect to the attacker's own server. That server can then send a HelloRetryRequest that rejects ECH followed by a ServerHello that accepts it, and the client will accept its certificate as authenticating the requested server. The same applies to a client-facing server in a split-mode ECH deployment, which holds the ECH private key and a certificate for the public name but must not be able to impersonate the backend servers. Only TLS clients that are configured to use ECH are affected. Clients that send only GREASE ECH and servers are not affected. ECH support was added in OpenSSL 4.0, it must be explicitly configured by the application, and the attacker must be able to forge DNS responses to the client or otherwise supply it with an ECH configuration. For these reasons this issue was assessed as Moderate severity. FIPS impact: no No FIPS modules are affected by this issue as the affected code is outside the OpenSSL FIPS module boundary.
Weakness
- CWE-295: Improper Certificate Validation
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenSSL | ≥ 4.1.0, < 4.1.1 | 4.1.1 |
| ≥ 4.0.0, < 4.0.4 | 4.0.4 |
References by type
Patches and fixed releases
- github.com/openssl/openssl/commit/335f8ecac66d8fdb4104f94a41fb81c582cf2…
- github.com/openssl/openssl/commit/d04683cbb0b31c64674921d5eaee83bccd515…
Other references
Affected
- OpenSSL
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-120665?
Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to accept a certificate for a domain chosen by an attacker as valid for the server name the application requested. Impact summary: An attacker who can forge DNS responses to a client can impersonate any server the client connects to using ECH. Weakness type: Improper Certificate Validation (CWE-295).
How severe is CVE-2026-120665?
CVE-2026-120665 has not been given a CVSS score yet.
Is CVE-2026-120665 being exploited?
Not as far as is known: CVE-2026-120665 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-120665?
OpenSSL ≥ 4.1.0, < 4.1.1 (fixed in 4.1.1); OpenSSL ≥ 4.0.0, < 4.0.4 (fixed in 4.0.4).
How do I fix CVE-2026-120665?
Update to a fixed release: OpenSSL 4.1.1; OpenSSL 4.0.4.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-5w3m-mfwg-9f8r / CVE-2026-118513 — Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries
- PHP Phar Extension Allows Signature Bypass via Algorithm Downgrade (CVE-2026-128090)
- CVE-2026-120667 — OpenSSL
- lightsaml Allows Signature Wrapping Bypass in SAML Responses [CVE-2026-63182]
- Postecert FIRMAOK! Vulnerability Allows Local Privilege Escalation