OpenSSL Security Advisory [1st December 2026] ============================================= ECH Server Name Verification Bypass after HelloRetryRequest (CVE-2026-120665) ============================================================================= Severity: Moderate Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to accept a certificate for a domain chosen by an attacker as valid for the server name the application requested. Impact summary: An attacker who can forge DNS responses to a client can impersonate any server the client connects to using ECH. The client then sends its application data to the attacker and accepts the attacker's responses as coming from the requested server. CWE: CWE-295: Improper Certificate Validation Description: When ECH is rejected, a client verifies the server's certificate against the public name in the ECH configuration, so that it can obtain a corrected configuration, and then aborts the handshake. The server's first message decides whether ECH was accepted. If that message is a HelloRetryRequest which rejects ECH, the OpenSSL client switches certificate verification to the public name but does not treat the rejection as final. A following ServerHello which signals ECH acceptance then causes the client to complete the handshake and report ECH success, while the certificate is still checked against the public name instead of the name the application set with SSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host(). ECH configurations are normally obtained from DNS HTTPS records, which are not authenticated unless DNSSEC is used. An attacker who can forge those records can give the client an ECH configuration for which it holds the private key, with a public name for a domain it controls and holds a valid certificate for. The same forged DNS responses can direct the client to connect to the attacker's own server. That server can then send a HelloRetryRequest that rejects ECH followed by a ServerHello that accepts it, and the client will accept its certificate as authenticating the requested server. The same applies to a client-facing server in a split-mode ECH deployment, which holds the ECH private key and a certificate for the public name but must not be able to impersonate the backend servers. Only TLS clients that are configured to use ECH are affected. Clients that send only GREASE ECH and servers are not affected. ECH support was added in OpenSSL 4.0, it must be explicitly configured by the application, and the attacker must be able to forge DNS responses to the client or otherwise supply it with an ECH configuration. For these reasons this issue was assessed as Moderate severity. FIPS impact: no No FIPS modules are affected by this issue as the affected code is outside the OpenSSL FIPS module boundary. OpenSSL 4.1 and 4.0 are vulnerable to this issue. OpenSSL 3.5, 3.0, 1.1.1 and 1.0.2 are not affected by this issue. OpenSSL 4.1 users should upgrade to OpenSSL 4.1.1. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.4. This issue was reported on 15 October 2026 by Anthropic's OSS Scanner, and independently on 17 October 2026 by Laurent Gaffie (secorizon.com) and on 19 October 2026 by Igor Morgenstern and Khaled Suliman (Aisle Research). It was also found independently on 16 October 2026 by Sabith Saheb as part of pull request #33233, but was not recognised as a security vulnerability at that time. The fix has been developed by Sabith Saheb. Heap Buffer Overflow When Re-Encoding Cached ASN.1 Items Above INT_MAX (CVE-2026-120667) ======================================================================================== Severity: Moderate Issue summary: An application that parses a maliciously crafted DER CRL, certificate or CSR from a buffer larger than 4 GiB may trigger a heap buffer overflow when OpenSSL re-encodes the item's cached encoding. Impact summary: An attacker who supplies a crafted CRL, certificate or CSR to an application that parses untrusted DER from a buffer larger than 4 GiB causes a heap out-of-bounds write of attacker-controlled data, crashing the process: Denial of Service. CWE: CWE-787: Out-of-bounds Write Description: ASN1_item_i2d() encodes an item in two passes, sizing the buffer first and writing it second. For an item with a cached DER encoding, ossl_asn1_enc_restore() reports that length through an int while copying the full long. A cached encoding longer than INT_MAX is reported truncated, so the caller allocates a small buffer and the second pass copies the whole span into it. The cache is kept for the signed parts of CRLs, certificates and CSRs. Parsing a CRL reaches it: d2i_X509_CRL() fingerprints the CRL and re-encodes that part, and a CRL inside PKCS#7 or CMS triggers it when the container is parsed. Certificates reach it at the first X509_verify() or extension-cache fingerprint, CSRs at X509_REQ_verify(). The attacker must supply a DER object whose signed part spans more than 2^32 bytes from a buffer of at least 4 GiB, on a platform with a 64-bit long. TLS, the HTTP CRL fetch, the BIO, PEM, decoder and store readers cap input below 4 GiB. The oversized copy runs off the end of the heap mapping and the process dies. Nothing is read out of bounds or returned to the attacker, and the fixed overrun size leaves no partial overwrite to steer. FIPS impact: no The affected code is outside the FIPS module boundary. OpenSSL 4.1 and 4.0 are vulnerable to this issue. OpenSSL 3.5, 3.0, 1.1.1 and 1.0.2 are not affected by this issue. OpenSSL 4.1 users should upgrade to OpenSSL 4.1.1. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.4. This issue was reported on 25 October 2026 by Bhabani Sankar Das. The fix has been developed by Nikola Pajkovsky and Bhabani Sankar Das. Unbounded Memory Growth in ECH Transcript Buffer From Repeated ClientHellos (CVE-2026-123780) ============================================================================================= Severity: Moderate 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. OpenSSL 4.1 and 4.0 are vulnerable to this issue. OpenSSL 3.5, 3.0, 1.1.1 and 1.0.2 are not affected by this issue. OpenSSL 4.1 users should upgrade to OpenSSL 4.1.1. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.4. This issue was reported on 19 October 2026 by Anthropic's OSS Scanner and on 20 November 2026 by Areg Gasparyan. The fix has been developed by Matt Caswell. AES-SIV Silently Ignores Additional Authenticated Data Supplied After Plaintext (CVE-2026-120666) ================================================================================================= Severity: Low Issue summary: An application that passes additional authenticated data to EVP_EncryptUpdate() or EVP_DecryptUpdate() after the plaintext when using AES-SIV may have that data excluded from authentication, while the call still reports success. Impact summary: Data an application intended to authenticate within a message is silently left unauthenticated. An attacker can forge the AAD in messages sent or received by such an application. CWE: CWE-345: Insufficient Verification of Data Authenticity Description: AES-SIV in the default provider is an AEAD mode, and EVP_EncryptUpdate() and EVP_DecryptUpdate() are expected to fold every piece of additional authenticated data (AAD) into the S2V state before the tag is computed. When an application supplies AAD after the plaintext, aes_siv_cipher() still hands it to ossl_siv128_aad(), but the tag has already been computed and that state is never read again. The call returns success and leaves nothing on the error queue. Only applications that use AES-SIV through the default provider and pass AAD in that order are exposed. The usual sequence, setting the tag and supplying AAD before the ciphertext, is unaffected, and OpenSSL's own TLS, QUIC and CMS implementations do not use AES-SIV this way. Other AEAD ciphers either reject late AAD or authenticate it. A signer that supplies AAD after the plaintext produces a tag covering only the AAD sent before it, so an attacker can drop the later AAD and the message still verifies. The severity is Low because the flaw depends on an unusual call order chosen by the application. FIPS impact: no The AES-SIV algorithms are not FIPS validated. OpenSSL 4.1, 4.0, 3.5 and 3.0 are vulnerable to this issue. OpenSSL 1.1.1 and 1.0.2 are not affected by this issue. OpenSSL 4.1 users should upgrade to OpenSSL 4.1.1. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.4. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.10. Premium support customers only: OpenSSL 3.0 users should upgrade to OpenSSL 3.0.24. This issue was reported on 22 October 2026 by Jonathan Bateman (Rochester Institute of Technology). The fix has been developed by Jonathan Bateman (Rochester Institute of Technology). General Advisory Notes ====================== URL for this Security Advisory: https://openssl-library.org/news/secadv/20261201.txt Note: the online version of the advisory may be updated with additional details over time. Only currently supported releases have been analysed. OpenSSL 3.1, 3.2, 3.3, 3.4, and 3.6 are out of support and have not been analysed. For details of OpenSSL severity classifications please see: https://openssl-library.org/policies/general/security-policy/