# CVE-2026-123780: Unbounded Memory Growth in ECH Transcript Buffer From Repeated ClientHellos

> An unauthenticated peer can exhaust memory of OpenSSL-based servers by repeating ClientHellos on one connection; operators of TLS or DTLS servers should care.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 1 Dec 2026
- **Updated:** 1 Dec 2026
- **Also known as:** GHSA-qmh5-x56h-9gfj, UBUNTU-CVE-2026-123780

## What is CVE-2026-123780?

CVE-2026-123780 is a high-severity denial of service 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.

### Official 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.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling)

## Which versions are affected by CVE-2026-123780?

An affected version is exposed as installed. No special setting or call is needed.


## How do I fix CVE-2026-123780?

No fix published yet.

## Is CVE-2026-123780 being exploited?

There is no known exploitation of CVE-2026-123780 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-123780 and fix it if it is affected.

What it is: CVE-2026-123780 is a high-severity denial of service 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.
Exploitation: There is no known exploitation of CVE-2026-123780 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: OpenSSL. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-123780/ (Markdown: https://insights.sbomify.com/CVE-2026-123780/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-123780
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-123780
- OSV: https://osv.dev/vulnerability/CVE-2026-123780

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-123780/
Summaries are generated and may contain mistakes; the official description above is the record.
