{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-120665 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls SSL_set1_dnsname, SSL_set1_host or X509_VERIFY_PARAM_set1_host. Many projects that include it are not exposed.","fix":"No fix published yet.","what":"CVE-2026-120665 is a security feature bypass vulnerability in OpenSSL, published on 1 Dec 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-120665 and fix it if it is affected.\n\nWhat it is: CVE-2026-120665 is a security feature bypass vulnerability in OpenSSL, published on 1 Dec 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-120665 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls SSL_set1_dnsname, SSL_set1_host or X509_VERIFY_PARAM_set1_host. Many projects that include it are not exposed.\n\nAffected product: OpenSSL. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to SSL_set1_dnsname, SSL_set1_host or X509_VERIFY_PARAM_set1_host and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-120665/ (Markdown: https://insights.sbomify.com/CVE-2026-120665/index.md)","id":"CVE-2026-120665","markdown":"https://insights.sbomify.com/CVE-2026-120665/index.md","name":"CVE-2026-120665","record":{"aliases":["GHSA-qv5w-cr2g-2wfg","UBUNTU-CVE-2026-120665"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"TLS library","requires_auth":"none","requires_specific_call":true,"summary":"An attacker who can forge DNS responses can impersonate servers to OpenSSL ECH clients, redirecting their traffic and accepting attacker certificates.","user_interaction":"not_required","vuln_class":"security_feature_bypass","vulnerable_functions":["SSL_set1_dnsname","SSL_set1_host","X509_VERIFY_PARAM_set1_host"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"openssl","component":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ECH Server Name Verification Bypass after HelloRetryRequest","id":"CVE-2026-120665","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":3,"n_vendor_status":0,"next":{"headline":"AES-SIV Silently Ignores Additional Authenticated Data Supplied After Plaintext","id":"CVE-2026-120666"},"nickname":null,"packages":[],"prev":{"headline":"The Redirection for Contact Form 7 plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 3.2.14 T","id":"CVE-2026-120659"},"products":["OpenSSL"],"published":"2026-12-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-12-01","vendor_status":[],"vendors":["OpenSSL"]},"summary":"An attacker who can forge DNS responses can impersonate servers to OpenSSL ECH clients, redirecting their traffic and accepting attacker certificates.","url":"https://insights.sbomify.com/CVE-2026-120665/"}