CVE-2026-120665 ECH Server Name Verification Bypass after HelloRetryRequest
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- OpenSSLUbuntuDebianRed Hat
Description
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.
Upgrade path
15 packages: 1 fixed, 14 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/openssl(Debian 14) | = 3.5.1-1; = 3.5.2-1; = 3.5.3-1; = 3.5.4-1 +30 more | No fix listed | No fix yet |
| redhat openssl(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/openssl3(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/edk2-hwe(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2-hwe(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/nodejs(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/openssl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/openssl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/openssl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/openssl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| OpenSSL | >= 4.0.0, < 4.0.4; >= 4.1.0, < 4.1.1 | 4.0.4, 4.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenSSL | >= 4.1.0, < 4.1.1 | 4.1.1 |
| OpenSSL | >= 4.0.0, < 4.0.4 | 4.0.4 |
| debian/openssl(Debian:14) | All versions | No fix listed |
| debian/openssl(Debian:14) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.3-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.6-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.6-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.7-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.7-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.7-1~deb13u3 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.9-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0-2 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0~~alpha1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0~~beta1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.1-2 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.1-3 | No fix listed |
Show 24 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssl(Debian:14) | = 3.6.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.3-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.4-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.5-1 | No fix listed |
| debian/openssl(Debian:14) | = 4.0.0-1 | No fix listed |
| debian/openssl(Debian:14) | = 4.0.0~alpha1-1 | No fix listed |
| debian/openssl(Debian:14) | = 4.0.0~beta1-1 | No fix listed |
| debian/openssl(Debian:14) | = 4.0.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 4.0.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 4.0.3+really4.1.0-1 | No fix listed |
| debian/openssl(Debian:14) | = 4.0.3-1 | No fix listed |
| ubuntu/edk2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:26.10) | All versions | No fix listed |
| redhat openssl(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/openssl3(Red Hat:hummingbird:1) | All versions | No fix listed |
References
- OpenSSL Advisory vendor-advisory
- 4.1.1 git commit patch
- 4.0.4 git commit patch
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory
- ENISA EUVD EUVD-2026-140416 third-party-advisory
- nvd.nist.gov
- Debian Security Tracker CVE-2026-120665 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2588051 issue-tracking