OpenSSL denial of service via unbounded ClientHello buffer growth
Affects OpenSSL 4.0.0 to before 4.0.4 and 4.1.0 to before 4.1.1 when a TLS or DTLS server processes repeated ClientHellos on one connection. Fixed in 4.0.4 and 4.1.1.
- Exploited
- No known exploitation
- Fix
- Fixed in 4.1.1, 4.0.4
- Who is exposed
- Default setups
Summary
OpenSSL TLS and DTLS servers are affected by a flaw in which repeated ClientHello messages on the same connection are stored in memory with no limit, even when Encrypted Client Hello is not used. An unauthenticated peer can exhaust the server's memory and cause a denial of service.
Written by a model
Original 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.
Who should check
Teams running OpenSSL 4.0 or 4.1 TLS or DTLS servers, where a peer can send repeated ClientHellos on one connection.
“OpenSSL 4.1 and 4.0 are vulnerable to this issue.”
What to do
Check every install: default setups are affected.
Upgrade to a fixed version: 4.1.1, 4.0.4.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-123780 (Unbounded Memory Growth in ECH Transcript Buffer From Repeated ClientHellos), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-123780 (entry last updated 2026-12-01):
Affected:
- OpenSSL OpenSSL: from 4.1.0, fixed in 4.1.1; from 4.0.0, fixed in 4.0.4
Fixed versions: 4.1.1, 4.0.4.
Conditions (all must be true for the bug to be hit):
- Affects OpenSSL 4.1 and 4.0. (source: https://openssl-library.org/news/secadv/20261201.txt)
- A peer makes a TLS or DTLS server process repeated ClientHellos on the same connection. (source: https://openssl-library.org/news/secadv/20261201.txt)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-123780 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-123780 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://openssl-library.org/news/secadv/20261201.txt
- https://github.com/openssl/openssl/commit/e268c987b15c19e01dfb9151fe2083c61be87e40
- https://github.com/openssl/openssl/commit/467a4a7f6095e65eb9925b64493073063c62f03f
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-123780
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-123780"}.Affected versions
- OpenSSL OpenSSLFrom 4.1.0 · fixed in 4.1.1; From 4.0.0 · fixed in 4.0.4
cve.now Index
- Exploitation0/40No signal
- Exposure25/25Default setups, CISA rates it automatable
- Reach20/20Affects OpenSSL (software on nearly every server, desktop or phone)
- Severity7.5/10CVSS 7.5
- No patch0/5No signal
What would change the score
- Would score about 93 if added to CISA KEV
- Would score about 88 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
- First seen by cve.now
- Posted on X by cve.now
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | openssl-library.org · news/secadv/20261201.txt |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-123780 |
| Record | NVD · CVE-2026-123780 |
| Other links 2 | |
| Patch | GitHub · openssl/openssl · Commit e268c987 |
| Patch | GitHub · openssl/openssl · Commit 467a4a7f |
Questions about CVE-2026-123780
Is CVE-2026-123780 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A per-connection buffer in OpenSSL grows without limit when a peer sends repeated ClientHellos on the same connection. This can exhaust the server's memory and cause a denial of service.
Source: openssl-library.org
Which versions are affected by CVE-2026-123780?
OpenSSL: from 4.1.0 before 4.1.1; from 4.0.0 before 4.0.4.
Source: cve.now feed data
Am I affected, and how do I check?
OpenSSL 4.1.0 before 4.1.1 and 4.0.0 before 4.0.4 are affected, in TLS or DTLS server processes that receive repeated ClientHellos on the same connection. To check the installed version, run openssl version.
Source: openssl-library.org
How do I fix CVE-2026-123780?
Upgrade to a fixed version: 4.1.1, 4.0.4. The vendor's advisory also recommends OpenSSL 4.1.1 or later.
Source: cve.now feed data, openssl-library.org
Related
- CVE-2026-84782DTLS Retransmits Handshake Messages From a Stale Buffer Offset
- CVE-2026-95691Retransmitted QUIC CRYPTO Frames Can Cause DoS or One-byte Disclosure
- CVE-2026-107493Use-After-Free in PEM_X509_INFO_read_bio_ex() when appending to a caller-supplied stack fails
- CVE-2026-120667Heap Buffer Overflow When Re-Encoding Cached ASN.1 Items Above INT_MAX
- CVE-2026-84786Possible NULL Dereference in Non-SMTP DANE Clients
- CVE-2026-121482Relative CRL Distribution Point Names Rebuilt per CRL in X.509 Verification
No corrections so far. Something wrong on this page? Report an error.