OpenSSLのECH処理に脆弱性、繰り返しのClientHelloでサーバーのメモリが枯渇するおそれ
Summary
OpenSSLのTLS・DTLSサーバーが同じ接続で繰り返しClientHelloを受け取ると、受け取った内容が接続ごとのバッファーに上限なく蓄積され、メモリを使い果たしてサービス拒否(DoS)を起こすおそれがあります。影響するのは4.1.0以降4.1.1未満と4.0.0以降4.0.4未満で、修正版は4.1.1と4.0.4です。デフォルト設定のサーバーも影響を受けるため、修正版への更新を優先して検討してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
OpenSSLのTLS・DTLSサーバーが同じ接続で繰り返しClientHelloを受け取ると、受け取った内容が接続ごとのバッファーに上限なく蓄積され、メモリを使い果たしてサービス拒否(DoS)を起こすおそれがあります。影響するのは4.1.0以降4.1.1未満と4.0.0以降4.0.4未満で、修正版は4.1.1と4.0.4です。デフォルト設定のサーバーも影響を受けるため、修正版への更新を優先して検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| OpenSSLOpenSSL |
≥ 4.1.0, < 4.1.1→ 4.1.1 ≥ 4.0.0, < 4.0.4→ 4.0.4 |
4.1.1 4.0.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-123780 openssl No fixed version in this record
Original description The description as published by the source.
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 renegoti…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web openssl-security@openssl.org
- web openssl-security@openssl.org
- web openssl-security@openssl.org
- web nvd.nist.gov
- web github.com