English edition · cyberattaques.org in FrenchFrançais
VulnerabilityPatch available

OpenSSL fixes four flaws, including memory exhaustion affecting default TLS servers

The OpenSSL project released versions 3.5.10, 4.0.4 and 4.1.1 on 1 December 2026, fixing four vulnerabilities covering an ECH certificate check bypass, memory exhaustion and a heap overflow. Applications and servers running OpenSSL 3.5, 4.0 or 4.1 are concerned, as flagged by CERT-FR on 2 December.

What to do now Illustration photo (server encryption network)
CVSS severity7.5High
EPSS probability1 %
ExploitationNot observed
PatchAvailable
Product
OpenSSL
Affected versions
OpenSSL 3.5.x before 3.5.10, 4.0.x before 4.0.4, 4.1.x before 4.1.1
Fixed in
OpenSSL 3.5.10, 4.0.4 and 4.1.1
CVE
CVE-2026-123780

France's CERT-FR issued advisory CERTFR-2026-AVI-1656 on 2 December 2026, relaying the OpenSSL security bulletin published the day before. It lists four identifiers: CVE-2026-120665, CVE-2026-120666, CVE-2026-120667 and CVE-2026-123780. The agency groups the risks as remote denial of service, data integrity compromise and security policy bypass. Affected branches are OpenSSL 3.5 before 3.5.10, 4.0 before 4.0.4 and 4.1 before 4.1.1.

The flaw with the widest reach is CVE-2026-123780, rated Moderate by OpenSSL. To confirm an Encrypted Client Hello (ECH) handshake, the library keeps a per-connection copy of the inner ClientHello. The server appends every ClientHello carrying an encrypted_client_hello extension of type inner to that copy, including ones it then refuses, with no cap, and only frees it when the connection ends. This code runs for every ClientHello, whether or not the server has an ECH configuration or supports TLS 1.3, because ECH support is built in by default.

An unauthenticated peer can therefore inflate a server's memory until it runs out. By default a TLS 1.2 or DTLS 1.2 server answers a client-initiated renegotiation with a warning alert and leaves the connection open, so a client that has completed one handshake can repeat the trick indefinitely. A DTLS server doing cookie exchange, such as openssl s_server -dtls or a listener created with SSL_new_listener() in OpenSSL 4.1, also reads successive ClientHellos before validating the peer's address, as does a TLS 1.3 server calling SSL_stateless() repeatedly on one SSL object. Servers using DTLSv1_listen() avoid that path. The attacker must send as much data as the server keeps. The bulletin excerpt available to us is cut off and does not list which branches this issue affects.

CVE-2026-120665 hits TLS clients configured to use ECH, a feature introduced in OpenSSL 4.0 that applications must enable explicitly. When the server's first message is a HelloRetryRequest rejecting ECH, the client switches certificate verification to the public name in the ECH configuration but does not treat the rejection as final. If a ServerHello accepting ECH follows, the handshake completes while the certificate has been checked against that public name rather than the name set with SSL_set1_dnsname(), SSL_set1_host() or X509_VERIFY_PARAM_set1_host().

Exploiting this requires the ability to forge DNS responses to the client, since ECH configurations usually come from DNS HTTPS records that are unauthenticated without DNSSEC. The attacker supplies an ECH configuration whose private key it holds, with a public name for a domain it controls and has a valid certificate for, then steers the client to its own server. It can then impersonate any server, receive application data and answer it. The same applies to the client-facing server in a split-mode ECH deployment, which could pose as backend servers. Clients sending only GREASE ECH, and servers, are not affected. Only versions 4.0 and 4.1 are vulnerable.

CVE-2026-120667 is a heap overflow when re-encoding cached ASN.1 items. The length of a cached DER encoding is passed through an int while the copy uses the full length, so beyond INT_MAX the allocated buffer is too small and the write overruns it. Conditions are narrow: the application must parse a CRL, certificate or CSR whose signed part exceeds 2^32 bytes, from a buffer of at least 4 GiB, on a platform with a 64-bit long. TLS, HTTP CRL fetching and the BIO, PEM, decoder and store readers all cap input below 4 GiB. OpenSSL says the process crashes, with nothing leaked and no steerable overwrite. Only 4.0 and 4.1 are affected.

The available part of the bulletin does not describe CVE-2026-120666, nor does it say which flaw explains the inclusion of the 3.5 branch in the CERT-FR advisory. Neither source reports active exploitation. FIPS modules are not affected by CVE-2026-120665 or CVE-2026-120667, as the code involved lies outside their boundary.

Action plan

What to do now

  1. Upgrade OpenSSL to 4.1.1, 4.0.4 or 3.5.10 depending on the branch in use, starting with internet-facing TLS and DTLS servers.
  2. Inventory applications and container images that bundle their own OpenSSL 3.5, 4.0 or 4.1 and track vendor and distribution updates.
  3. Identify clients explicitly configured for ECH and update them first, as they are exposed to server impersonation.
  4. As general good practice, monitor memory usage of exposed TLS/DTLS services until the fix is deployed.

Sources