CVE-2026-55953

TLS 1.2 and DTLS client accepts unoffered anonymous cipher suite, bypassing server authentication

State
Published
Severity
9.1 Critical
Published
Jul 27, 2026
Updated
Sep 8, 2026
Reserved
Jun 17, 2026

Read the record on cve.org

Description

The Erlang/OTP ssl TLS 1.2 (and earlier) and DTLS client does not verify that the cipher suite selected by the server in ServerHello was among the suites offered by the client in ClientHello. The client-side tls_handshake:hello/5 handler validates the negotiated protocol version and the downgrade sentinel but hands the server-chosen suite directly to ssl_handshake:handle_server_hello_extensions/9, which installs it without a membership check. The TLS 1.3 client path performs this check (per RFC 8446), so it is not affected.

An on-path attacker between the client and the intended server can respond with a ServerHello selecting an anonymous key exchange suite such as TLS_DH_anon_* or TLS_ECDH_anon_* that the client never offered. Anonymous suites do not require the server to present a certificate, so the entire verify_peer and cacerts configuration is bypassed: the attacker completes the handshake with its own ephemeral parameters, no certificate is validated, no hostname is checked, and ssl:connect returns {ok, Socket}. All subsequent application traffic is readable and modifiable by the attacker.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.15, from OTP 28.0 before OTP 28.5.0.4, and from OTP 29.0 before OTP 29.0.4, corresponding to ssl from 5.3.4 before 11.2.12.11, from 11.3 before 11.6.0.4, and from 11.7 before 11.7.4. Whether OTP before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown.

Scores

CVSSScoreVectorSource
4.09.1 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-757 Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')

Affected Products

ProductVersions
OTPErlang
  • before 17.0Unknown
  • 17.0 to before 27.3.4.15Affected
  • 28.0 to before 28.5.0.4Affected
  • 29.0 to before 29.0.4Affected
OTPErlang
  • before 5.3.4Unknown
  • 5.3.4 to before 11.2.12.11Affected
  • 11.3 to before 11.6.0.4Affected
  • 11.7 to before 11.7.4Affected
OTPErlang
  • 84adefa331c4159d432d22840663c38f155cd4c1 and laterAffectedfrom 064e236414614f9085cbbbd6eacf0e43c02d1b4bNot affectedfrom 0a82596d425abe43dc2e0b3d74aa1557ef74051cNot affectedfrom e6ff938116b2872bccc478af7fefb56627285b77Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.