{"api_version":"1","generated_at":"2026-12-01T17:42:00+00:00","cve":"CVE-2026-120665","urls":{"html":"https://cve.report/CVE-2026-120665","api":"https://cve.report/api/cve/CVE-2026-120665.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-120665","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-120665"},"summary":{"title":"ECH Server Name Verification Bypass after HelloRetryRequest","description":"Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to\naccept a certificate for a domain chosen by an attacker as valid for the\nserver name the application requested.\n\nImpact summary: An attacker who can forge DNS responses to a client can\nimpersonate any server the client connects to using ECH. The client then sends\nits application data to the attacker and accepts the attacker's responses as\ncoming from the requested server.\n\nCWE: CWE-295: Improper Certificate Validation\n\nDescription: When ECH is rejected, a client verifies the server's certificate\nagainst the public name in the ECH configuration, so that it can obtain a\ncorrected configuration, and then aborts the handshake. The server's first\nmessage decides whether ECH was accepted. If that message is a\nHelloRetryRequest which rejects ECH, the OpenSSL client switches certificate\nverification to the public name but does not treat the rejection as final. A\nfollowing ServerHello which signals ECH acceptance then causes the client to\ncomplete the handshake and report ECH success, while the certificate is still\nchecked against the public name instead of the name the application set with\nSSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host().\n\nECH configurations are normally obtained from DNS HTTPS records, which are not\nauthenticated unless DNSSEC is used. An attacker who can forge those records\ncan give the client an ECH configuration for which it holds the private key,\nwith a public name for a domain it controls and holds a valid certificate\nfor. The same forged DNS responses can direct the client to connect to the\nattacker's own server. That server can then send a HelloRetryRequest that\nrejects ECH followed by a ServerHello that accepts it, and the client will\naccept its certificate as authenticating the requested server. The same\napplies to a client-facing server in a split-mode ECH deployment, which holds\nthe ECH private key and a certificate for the public name but must not be able\nto impersonate the backend servers.\n\nOnly TLS clients that are configured to use ECH are affected. Clients that\nsend only GREASE ECH and servers are not affected. ECH support was added in\nOpenSSL 4.0, it must be explicitly configured by the application, and the\nattacker must be able to forge DNS responses to the client or otherwise supply\nit with an ECH configuration. For these reasons this issue was assessed as\nModerate severity.\n\nFIPS impact: no\nNo FIPS modules are affected by this issue as the affected code is outside\nthe OpenSSL FIPS module boundary.","state":"PUBLISHED","assigner":"openssl","published_at":"2026-12-01 17:17:20","updated_at":"2026-12-01 17:17:20"},"problem_types":["CWE-295","CWE-295 Improper Certificate Validation"],"metrics":[],"references":[{"url":"https://github.com/openssl/openssl/commit/d04683cbb0b31c64674921d5eaee83bccd515144","name":"https://github.com/openssl/openssl/commit/d04683cbb0b31c64674921d5eaee83bccd515144","refsource":"openssl-security@openssl.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://openssl-library.org/news/secadv/20261201.txt","name":"https://openssl-library.org/news/secadv/20261201.txt","refsource":"openssl-security@openssl.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/openssl/openssl/commit/335f8ecac66d8fdb4104f94a41fb81c582cf2de2","name":"https://github.com/openssl/openssl/commit/335f8ecac66d8fdb4104f94a41fb81c582cf2de2","refsource":"openssl-security@openssl.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120665","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120665","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"OpenSSL","product":"OpenSSL","version":"affected 4.1.0 4.1.1 semver","platforms":[]},{"source":"CNA","vendor":"OpenSSL","product":"OpenSSL","version":"affected 4.0.0 4.0.4 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Anthropic's OSS Scanner","lang":"en"},{"source":"CNA","value":"Laurent Gaffie (secorizon.com)","lang":"en"},{"source":"CNA","value":"Igor Morgenstern (Aisle Research)","lang":"en"},{"source":"CNA","value":"Khaled Suliman (Aisle Research)","lang":"en"},{"source":"CNA","value":"Sabith Saheb","lang":"en"},{"source":"CNA","value":"Sabith Saheb","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"OpenSSL","vendor":"OpenSSL","versions":[{"lessThan":"4.1.1","status":"affected","version":"4.1.0","versionType":"semver"},{"lessThan":"4.0.4","status":"affected","version":"4.0.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"Anthropic's OSS Scanner"},{"lang":"en","type":"reporter","value":"Laurent Gaffie (secorizon.com)"},{"lang":"en","type":"reporter","value":"Igor Morgenstern (Aisle Research)"},{"lang":"en","type":"reporter","value":"Khaled Suliman (Aisle Research)"},{"lang":"en","type":"reporter","value":"Sabith Saheb"},{"lang":"en","type":"remediation developer","value":"Sabith Saheb"}],"datePublic":"2026-12-01T16:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to<br>accept a certificate for a domain chosen by an attacker as valid for the<br>server name the application requested.<br><br>Impact summary: An attacker who can forge DNS responses to a client can<br>impersonate any server the client connects to using ECH. The client then sends<br>its application data to the attacker and accepts the attacker's responses as<br>coming from the requested server.<br><br>CWE: CWE-295: Improper Certificate Validation<br><br>Description: When ECH is rejected, a client verifies the server's certificate<br>against the public name in the ECH configuration, so that it can obtain a<br>corrected configuration, and then aborts the handshake. The server's first<br>message decides whether ECH was accepted. If that message is a<br>HelloRetryRequest which rejects ECH, the OpenSSL client switches certificate<br>verification to the public name but does not treat the rejection as final. A<br>following ServerHello which signals ECH acceptance then causes the client to<br>complete the handshake and report ECH success, while the certificate is still<br>checked against the public name instead of the name the application set with<br>SSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host().<br><br>ECH configurations are normally obtained from DNS HTTPS records, which are not<br>authenticated unless DNSSEC is used. An attacker who can forge those records<br>can give the client an ECH configuration for which it holds the private key,<br>with a public name for a domain it controls and holds a valid certificate<br>for. The same forged DNS responses can direct the client to connect to the<br>attacker's own server. That server can then send a HelloRetryRequest that<br>rejects ECH followed by a ServerHello that accepts it, and the client will<br>accept its certificate as authenticating the requested server. The same<br>applies to a client-facing server in a split-mode ECH deployment, which holds<br>the ECH private key and a certificate for the public name but must not be able<br>to impersonate the backend servers.<br><br>Only TLS clients that are configured to use ECH are affected. Clients that<br>send only GREASE ECH and servers are not affected. ECH support was added in<br>OpenSSL 4.0, it must be explicitly configured by the application, and the<br>attacker must be able to forge DNS responses to the client or otherwise supply<br>it with an ECH configuration. For these reasons this issue was assessed as<br>Moderate severity.<br><br>FIPS impact: no<br>No FIPS modules are affected by this issue as the affected code is outside<br>the OpenSSL FIPS module boundary."}],"value":"Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to\naccept a certificate for a domain chosen by an attacker as valid for the\nserver name the application requested.\n\nImpact summary: An attacker who can forge DNS responses to a client can\nimpersonate any server the client connects to using ECH. The client then sends\nits application data to the attacker and accepts the attacker's responses as\ncoming from the requested server.\n\nCWE: CWE-295: Improper Certificate Validation\n\nDescription: When ECH is rejected, a client verifies the server's certificate\nagainst the public name in the ECH configuration, so that it can obtain a\ncorrected configuration, and then aborts the handshake. The server's first\nmessage decides whether ECH was accepted. If that message is a\nHelloRetryRequest which rejects ECH, the OpenSSL client switches certificate\nverification to the public name but does not treat the rejection as final. A\nfollowing ServerHello which signals ECH acceptance then causes the client to\ncomplete the handshake and report ECH success, while the certificate is still\nchecked against the public name instead of the name the application set with\nSSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host().\n\nECH configurations are normally obtained from DNS HTTPS records, which are not\nauthenticated unless DNSSEC is used. An attacker who can forge those records\ncan give the client an ECH configuration for which it holds the private key,\nwith a public name for a domain it controls and holds a valid certificate\nfor. The same forged DNS responses can direct the client to connect to the\nattacker's own server. That server can then send a HelloRetryRequest that\nrejects ECH followed by a ServerHello that accepts it, and the client will\naccept its certificate as authenticating the requested server. The same\napplies to a client-facing server in a split-mode ECH deployment, which holds\nthe ECH private key and a certificate for the public name but must not be able\nto impersonate the backend servers.\n\nOnly TLS clients that are configured to use ECH are affected. Clients that\nsend only GREASE ECH and servers are not affected. ECH support was added in\nOpenSSL 4.0, it must be explicitly configured by the application, and the\nattacker must be able to forge DNS responses to the client or otherwise supply\nit with an ECH configuration. For these reasons this issue was assessed as\nModerate severity.\n\nFIPS impact: no\nNo FIPS modules are affected by this issue as the affected code is outside\nthe OpenSSL FIPS module boundary."}],"metrics":[{"format":"other","other":{"content":{"text":"Moderate"},"type":"https://openssl-library.org/policies/general/security-policy/"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","description":"Improper Certificate Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-01T16:35:02.880Z","orgId":"3a12439a-ef3a-4c79-92e6-6081a721f1e5","shortName":"openssl"},"references":[{"name":"OpenSSL Advisory","tags":["vendor-advisory"],"url":"https://openssl-library.org/news/secadv/20261201.txt"},{"name":"4.1.1 git commit","tags":["patch"],"url":"https://github.com/openssl/openssl/commit/d04683cbb0b31c64674921d5eaee83bccd515144"},{"name":"4.0.4 git commit","tags":["patch"],"url":"https://github.com/openssl/openssl/commit/335f8ecac66d8fdb4104f94a41fb81c582cf2de2"}],"source":{"discovery":"UNKNOWN"},"title":"ECH Server Name Verification Bypass after HelloRetryRequest","x_generator":{"engine":"Vulnogram 0.2.0"}}},"cveMetadata":{"assignerOrgId":"3a12439a-ef3a-4c79-92e6-6081a721f1e5","assignerShortName":"openssl","cveId":"CVE-2026-120665","datePublished":"2026-12-01T16:35:02.880Z","dateReserved":"2026-11-02T18:47:05.906Z","dateUpdated":"2026-12-01T16:35:02.880Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-01 17:17:20","lastModifiedDate":"2026-12-01 17:17:20","problem_types":["CWE-295","CWE-295 Improper Certificate Validation"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"120665","Ordinal":"1","Title":"ECH Server Name Verification Bypass after HelloRetryRequest","CVE":"CVE-2026-120665","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"120665","Ordinal":"1","NoteData":"Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to\naccept a certificate for a domain chosen by an attacker as valid for the\nserver name the application requested.\n\nImpact summary: An attacker who can forge DNS responses to a client can\nimpersonate any server the client connects to using ECH. The client then sends\nits application data to the attacker and accepts the attacker's responses as\ncoming from the requested server.\n\nCWE: CWE-295: Improper Certificate Validation\n\nDescription: When ECH is rejected, a client verifies the server's certificate\nagainst the public name in the ECH configuration, so that it can obtain a\ncorrected configuration, and then aborts the handshake. The server's first\nmessage decides whether ECH was accepted. If that message is a\nHelloRetryRequest which rejects ECH, the OpenSSL client switches certificate\nverification to the public name but does not treat the rejection as final. A\nfollowing ServerHello which signals ECH acceptance then causes the client to\ncomplete the handshake and report ECH success, while the certificate is still\nchecked against the public name instead of the name the application set with\nSSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host().\n\nECH configurations are normally obtained from DNS HTTPS records, which are not\nauthenticated unless DNSSEC is used. An attacker who can forge those records\ncan give the client an ECH configuration for which it holds the private key,\nwith a public name for a domain it controls and holds a valid certificate\nfor. The same forged DNS responses can direct the client to connect to the\nattacker's own server. That server can then send a HelloRetryRequest that\nrejects ECH followed by a ServerHello that accepts it, and the client will\naccept its certificate as authenticating the requested server. The same\napplies to a client-facing server in a split-mode ECH deployment, which holds\nthe ECH private key and a certificate for the public name but must not be able\nto impersonate the backend servers.\n\nOnly TLS clients that are configured to use ECH are affected. Clients that\nsend only GREASE ECH and servers are not affected. ECH support was added in\nOpenSSL 4.0, it must be explicitly configured by the application, and the\nattacker must be able to forge DNS responses to the client or otherwise supply\nit with an ECH configuration. For these reasons this issue was assessed as\nModerate severity.\n\nFIPS impact: no\nNo FIPS modules are affected by this issue as the affected code is outside\nthe OpenSSL FIPS module boundary.","Type":"Description","Title":"ECH Server Name Verification Bypass after HelloRetryRequest"}]}}}