# OpenSSL fixes an ECH flaw that lets attackers who control DNS impersonate servers

OpenSSL 4.1.1 and 4.0.4 fix CVE-2026-120665, which lets an attacker who can forge DNS answers impersonate servers to clients using Encrypted Client Hello. Anthropic's OSS Scanner was the first to report it.

By [AI Security Times](https://aisecuritytimes.com/authors/ai-security-times) · Published 2026-12-02T10:38:00Z
Canonical: https://aisecuritytimes.com/tech/openssl-ech-flaw-server-impersonation

## Key facts

- CVE: CVE-2026-120665, CVE-2026-123780, CVE-2026-120667, CVE-2026-120666
- Severity: OpenSSL's own severity rating; the advisory gives no CVSS score
- Status: Patch available
- Product: OpenSSL
- Affected: OpenSSL 4.1.0 and 4.0.0 to 4.0.3. The low-severity AES-SIV flaw also affects 3.5 and 3.0
- Fixed in: 4.1.1 and 4.0.4, released Dec 1; 3.5.10 for the AES-SIV flaw (3.0.24 for premium support customers)
- Not affected: OpenSSL 3.5, 3.0, 1.1.1 and 1.0.2 are not affected by the three Moderate flaws

### What to do now

1. Update to OpenSSL 4.1.1 or 4.0.4. On the 3.5 branch, update to 3.5.10.
2. If OpenSSL comes with your operating system or inside an application, install the vendor's update when it ships.
3. Update TLS clients on OpenSSL 4.x that use ECH first: only they are exposed to server impersonation.
4. Update TLS and DTLS servers on 4.x too: the memory-growth flaw affects them in their default configuration, even without ECH.

The OpenSSL project released versions 4.1.1, 4.0.4 and 3.5.10 on Dec 1 to fix four security flaws. The most notable, CVE-2026-120665, affects TLS clients that use Encrypted Client Hello (ECH), a feature that hides which site a client is connecting to. According to the advisory, "An attacker who can forge DNS responses to a client can impersonate any server the client connects to using ECH."

OpenSSL rates the flaw Moderate. The first report came from Anthropic's OSS Scanner on Oct 15, 2026.

## How the ECH flaw works

A client usually gets a site's ECH settings from DNS records, which "are not authenticated unless DNSSEC is used". An attacker who can forge those records can give the client an ECH configuration of their own, with a public name for a domain they control and hold a valid certificate for, and send the client to their own server.

That server rejects ECH in its first message, a HelloRetryRequest, and then accepts it in the ServerHello that follows. After the rejection, OpenSSL starts checking the certificate against the public name, but it does not treat the rejection as final. The client completes the handshake, reports that ECH succeeded and accepts the attacker's certificate as proof that it reached the site it asked for. It then sends its data to the attacker.

Several conditions limit the risk. Only clients configured to use ECH are affected; servers, and clients that send only GREASE ECH, are not. ECH arrived in OpenSSL 4.0 and has to be turned on by the application, so OpenSSL 3.5, 3.0, 1.1.1 and 1.0.2 are not affected. The flaw also lets the client-facing server in a split-mode ECH deployment impersonate the backend servers behind it.

## Who found it

OpenSSL credits four independent reports. Anthropic's OSS Scanner reported the flaw on Oct 15, Laurent Gaffie of secorizon.com on Oct 17, and Igor Morgenstern and Khaled Suliman of Aisle Research on Oct 19. Sabith Saheb, who developed the fix, had also run into the bug on Oct 16 in a pull request, but it "was not recognised as a security vulnerability at that time".

Anthropic's OSS Scanner is also credited, together with Areg Gasparyan, for a second flaw fixed in this release, CVE-2026-123780.

## The other three flaws

| CVE | Severity | What it does | Versions |
|---|---|---|---|
| CVE-2026-123780 | Moderate | A peer can make a TLS or DTLS server keep every repeated ClientHello in memory, with no limit. Servers in their default configuration are affected, including TLS 1.2-only servers that do not use ECH. | 4.1, 4.0 |
| CVE-2026-120667 | Moderate | A crafted CRL, certificate or certificate request parsed from a buffer larger than 4 GiB causes a heap overflow that crashes the process. | 4.1, 4.0 |
| CVE-2026-120666 | Low | With AES-SIV, data supplied for authentication after the plaintext is silently left unauthenticated. Only an unusual call order in the application triggers it. | 4.1, 4.0, 3.5, 3.0 |

None of the four flaws affects OpenSSL's FIPS modules. OpenSSL 3.0 users get the AES-SIV fix in 3.0.24, which is available only to premium support customers.

## What to do

Update to 4.1.1 or 4.0.4, or to 3.5.10 on the 3.5 branch. Many systems get OpenSSL from their operating system or bundled inside applications, so watch for vendor updates as well. OpenSSL also notes that versions 3.1, 3.2, 3.3, 3.4 and 3.6 are out of support and were not analysed.

Related: [NIST will revise its TLS guidelines to add post-quantum algorithms and demote TLS 1.2](/tech/nist-revise-tls-guidelines-post-quantum) · [node-tar 8 fixes 18 archive flaws, including symlink escapes, but needs Node.js 22](/tech/node-tar-18-advisories-symlink-escapes)

## Sources

1. [OpenSSL Security Advisory [1st December 2026]](https://openssl-library.org/news/secadv/20261201.txt) (Advisory)
2. [OpenSSL vulnerabilities list](https://openssl-library.org/news/vulnerabilities/index.html) (Project)
3. [OpenSSL 4.1.1 release](https://github.com/openssl/openssl/releases/tag/openssl-4.1.1) (Release)

Topics: [Encryption](https://aisecuritytimes.com/topics/encryption), [Vulnerabilities](https://aisecuritytimes.com/topics/vulnerabilities), [Patches](https://aisecuritytimes.com/topics/patches)
