Skip to content
OpenAdvisories
High · 7.5 CVE-2026-123780 EUVD-2026-140419GHSA-qmh5-x56h-9gfj

Unbounded Memory Growth in ECH Transcript Buffer From Repeated ClientHellos

Published Dec 1, 2026 · Updated Dec 1, 2026 · Assigned by openssl

Description

Issue summary: A peer that can make an OpenSSL TLS or DTLS server process
repeated ClientHellos on the same connection, causes the server to append
every message to a per-connection buffer without any limit. This happens even
if the server does not use ECH (Encrypted Client Hello) support.

Impact summary: An unauthenticated peer can exhaust a server's memory by
sending ClientHellos that the server retains, causing Denial of Service.
Servers in their default configuration are affected, including TLS 1.2 only
servers. The attacker must send as much data as is retained, and the memory is
released when the connection is freed.

CWE: CWE-770: Allocation of Resources Without Limits or Throttling

Description: OpenSSL keeps a per-connection copy of the inner ClientHello so
that ECH (Encrypted Client Hello) can confirm the handshake. However,
the server appends every ClientHello carrying an encrypted_client_hello
extension of type inner to that copy, including ones the server goes on
to refuse, and the copy is only freed with the connection.
Although ECH is only defined for TLS 1.3, this code runs for every ClientHello
a server receives, whether or not the server has an ECH configuration and
whether or not it supports TLS 1.3. ECH support is built in by default.

Any peer that can make a server read one ClientHello after another on the same
connection therefore controls how much memory that connection holds. By
default a TLS 1.2 or DTLS 1.2 server refuses a client-initiated renegotiation
with a warning alert and keeps the connection open, so a client that has
completed a handshake can repeat this indefinitely. A DTLS server doing cookie
exchange (as openssl s_server -dtls does, and as a DTLS listener created with
SSL_new_listener() does by default in OpenSSL 4.1) reads ClientHellos the same
way before the peer's address is validated, as does a TLS 1.3 server that
calls SSL_stateless() repeatedly on one SSL object. Servers using
DTLSv1_listen() are not affected by the cookie exchange path, but are affected
through renegotiation.

Each ClientHello can add up to about 128 KB. The attacker must send as much
data as the server retains, so there is no amplification, and the memory is
freed when the application frees the connection. Because a single connection
can grow without limit and servers in their default configuration are
affected, this issue was assessed as Moderate severity.

FIPS impact: no
The affected code is outside the FIPS module boundary.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 4.1.0 – < 4.1.1, 4.0.0 – < 4.0.4 4.1.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 edk2 +2 No fix yet —
Ubuntu 26.04 LTS edk2 +1 No fix yet —
Ubuntu 24.04 LTS edk2 No fix yet —
Ubuntu 22.04 LTS edk2 No fix yet —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS openssl-fips No fix yet —
Ubuntu Pro FIPS-updates 22.04 LTS openssl +1 No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS openssl +1 No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS edk2 +2 No fix yet —
Ubuntu Pro 16.04 LTS edk2 +1 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 openssl +6 1:3.5.9-0.6.hum1 RHSA-2026:104383
Red Hat Hardened Images 1 openssl3 +3 1:3.5.9-1.5.hum1 RHSA-2026:103808

Advisories 3

References