CVE-2026-120665 (GCVE-0-2026-120665)

Vulnerability from cvelistv5 – Published: 2026-12-01 16:35 – Updated: 2026-12-01 16:35
VLAI
Title
ECH Server Name Verification Bypass after HelloRetryRequest
Summary
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.
Severity
No CVSS data available.
CWE
  • CWE-295 - Improper Certificate Validation
Assigner
openssl CNA under the mitre root
CNA scorecard B 78/100 over 61 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
OpenSSL OpenSSL Affected: 4.1.0 , < 4.1.1 (semver)
Affected: 4.0.0 , < 4.0.4 (semver)
guessed Create a notification for this product.
Date Public
2026-12-01 16:00
Show details on NVD website

{
  "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\u0027s 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\u003cbr\u003eaccept a certificate for a domain chosen by an attacker as valid for the\u003cbr\u003eserver name the application requested.\u003cbr\u003e\u003cbr\u003eImpact summary: An attacker who can forge DNS responses to a client can\u003cbr\u003eimpersonate any server the client connects to using ECH. The client then sends\u003cbr\u003eits application data to the attacker and accepts the attacker\u0027s responses as\u003cbr\u003ecoming from the requested server.\u003cbr\u003e\u003cbr\u003eCWE: CWE-295: Improper Certificate Validation\u003cbr\u003e\u003cbr\u003eDescription: When ECH is rejected, a client verifies the server\u0027s certificate\u003cbr\u003eagainst the public name in the ECH configuration, so that it can obtain a\u003cbr\u003ecorrected configuration, and then aborts the handshake. The server\u0027s first\u003cbr\u003emessage decides whether ECH was accepted. If that message is a\u003cbr\u003eHelloRetryRequest which rejects ECH, the OpenSSL client switches certificate\u003cbr\u003everification to the public name but does not treat the rejection as final. A\u003cbr\u003efollowing ServerHello which signals ECH acceptance then causes the client to\u003cbr\u003ecomplete the handshake and report ECH success, while the certificate is still\u003cbr\u003echecked against the public name instead of the name the application set with\u003cbr\u003eSSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host().\u003cbr\u003e\u003cbr\u003eECH configurations are normally obtained from DNS HTTPS records, which are not\u003cbr\u003eauthenticated unless DNSSEC is used. An attacker who can forge those records\u003cbr\u003ecan give the client an ECH configuration for which it holds the private key,\u003cbr\u003ewith a public name for a domain it controls and holds a valid certificate\u003cbr\u003efor. The same forged DNS responses can direct the client to connect to the\u003cbr\u003eattacker\u0027s own server. That server can then send a HelloRetryRequest that\u003cbr\u003erejects ECH followed by a ServerHello that accepts it, and the client will\u003cbr\u003eaccept its certificate as authenticating the requested server. The same\u003cbr\u003eapplies to a client-facing server in a split-mode ECH deployment, which holds\u003cbr\u003ethe ECH private key and a certificate for the public name but must not be able\u003cbr\u003eto impersonate the backend servers.\u003cbr\u003e\u003cbr\u003eOnly TLS clients that are configured to use ECH are affected. Clients that\u003cbr\u003esend only GREASE ECH and servers are not affected. ECH support was added in\u003cbr\u003eOpenSSL 4.0, it must be explicitly configured by the application, and the\u003cbr\u003eattacker must be able to forge DNS responses to the client or otherwise supply\u003cbr\u003eit with an ECH configuration. For these reasons this issue was assessed as\u003cbr\u003eModerate severity.\u003cbr\u003e\u003cbr\u003eFIPS impact: no\u003cbr\u003eNo FIPS modules are affected by this issue as the affected code is outside\u003cbr\u003ethe 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\u0027s 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\u0027s certificate\nagainst the public name in the ECH configuration, so that it can obtain a\ncorrected configuration, and then aborts the handshake. The server\u0027s 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\u0027s 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-120665",
      "date": "2026-12-03",
      "epss": "0.00228",
      "percentile": "0.14464"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "openssl-security@openssl.org"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "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\u0027s 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\u0027s certificate\nagainst the public name in the ECH configuration, so that it can obtain a\ncorrected configuration, and then aborts the handshake. The server\u0027s 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\u0027s 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."
          }
        ],
        "id": "CVE-2026-120665",
        "lastModified": "2026-12-02T19:30:17.790",
        "metrics": {},
        "published": "2026-12-01T17:17:20.197",
        "references": [
          {
            "source": "openssl-security@openssl.org",
            "url": "https://github.com/openssl/openssl/commit/335f8ecac66d8fdb4104f94a41fb81c582cf2de2"
          },
          {
            "source": "openssl-security@openssl.org",
            "url": "https://github.com/openssl/openssl/commit/d04683cbb0b31c64674921d5eaee83bccd515144"
          },
          {
            "source": "openssl-security@openssl.org",
            "url": "https://openssl-library.org/news/secadv/20261201.txt"
          }
        ],
        "sourceIdentifier": "openssl-security@openssl.org",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-295"
              }
            ],
            "source": "openssl-security@openssl.org",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-03T03:54:40+00:00",
      "cve": "CVE-2026-120665",
      "id": "CVE-2026-120665",
      "initial_release_date": "2026-12-01T16:35:02.880000+00:00",
      "product_status:fixed": "32",
      "product_status:known_not_affected": "92",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "openssl: OpenSSL: Server impersonation via improper ECH certificate validation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-120665.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.