Skip to main content

Erlang/OTP EUVDEUVD-2026-84338

| CVE-2026-89422 CRITICAL
Key Exchange without Entity Authentication (CWE-322)
2026-09-22 EEF
9.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position as peer answering client TLS 1.3 connection
  2. Delivery
    Send ServerHello with unoffered pre_shared_key extension
  3. Exploit
    Client sets resumption=true, skips certificate states
  4. Execution
    Handshake completes with attacker ephemeral key
  5. Persist
    ssl:connect returns {ok, Socket} to certificate-less peer
  6. Impact
    Impersonate server, read and inject traffic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Authenticated key exchange
Exploitation Conditions

Requires the victim to be an Erlang/OTP application acting as a TLS 1.3 client via ssl:connect in its default configuration (the default client config IS affected). The attacker must be the peer that answers the client's TLS 1.3 connection - i.e., a man-in-the-middle, a hijacked route/DNS, or a server the client is lured into contacting - and simply returns a ServerHello carrying a pre_shared_key extension the client never offered. LIMITING FACTORS: clients restricted to TLS 1.2 are NOT affected; the attacker needs network position to answer the connection (not exploitable purely remotely without being on-path or being the endpoint); and only affected version ranges (OTP 22.2 up to but excluding 27.3.4.18, 28.5.0.7, 29.1.1) are vulnerable. No authentication and no user interaction are required (PR:N/UI:N).

Impact

This is a genuine high-priority vulnerability, not a high-CVSS-but-low-impact artifact. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N, 9.3) describes an unauthenticated, network-reachable, low-complexity flaw with high confidentiality and integrity impact and no availability impact - fully consistent with the described defect: a TLS 1.3 client accepts a pre_shared_key extension it never offered and silently skips all certificate validation (path validation, verify_fun, hostname check, partial_chain, CRL, OCSP). CWE-322 (Key Exchange without Entity Authentication) is the correct root cause. No EPSS score, no CISA KEV listing, and no public exploit are provided, so exploitation is not confirmed as active or widespread; however, the advisory ships detailed source-level root-cause analysis and patch diffs (GHSA-rgxr-4g4w-j875 plus four erlang/otp commits) that make a working exploit straightforward to construct. The one signal that tempers the raw 9.3 is positional: the attacker must be the peer answering the client's connection (i.e., MITM or a malicious/lured endpoint), so realistic exploitation depends on network position rather than being sprayable across the internet - the low attack complexity applies once that position is held. Net: treat as urgent patch priority for any Erlang/OTP client making outbound TLS 1.3 connections, while noting exploitation status remains 'no public exploit identified' rather than 'in the wild.'

Exploit ScenarioDerived

An attacker positioned to answer a victim Erlang/OTP application's outbound TLS 1.3 connection (via MITM, DNS/BGP hijack, or by luring the client to connect) returns a ServerHello containing a pre_shared_key extension the client never sent. The client sets resumption=true, keys the handshake with its own ephemeral key and the all-zero 'no PSK' value, routes straight to wait_finished, and ssl:connect returns {ok, Socket} to a peer holding no certificate or private key - giving the attacker a fully impersonated server session to read and inject application data. No public exploit is published, but the advisory's source-level detail and patch commits make a PoC trivial to build.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will complete a TLS 1.3 client handshake against any peer that answers with an unsolicited pre_shared_key extension, allowing that peer to impersonate the intended server while holding no certificate, no private key and no prior session. Because the bogus resumption flag short-circuits certificate handling, ssl:connect returns {ok, Socket} even though certificate path validation, verify_fun, hostname verification, partial_chain, CRL checking and OCSP stapling are all skipped; an unauthenticated network-positioned attacker (man-in-the-middle, hijacked route/DNS, or a server the client is lured into contacting) can exploit this, and clients restricted to TLS 1.2 are not affected. A vendor patch is available and no public exploit code has been identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to OTP 27.3.4.18, OTP 28.5.0.7 or OTP 29.1.1 (ssl 11.2.12.13, 11.6.0.6 and 11.7.7 respectively), which carry the fixes in commits 21b8a1b0ad0adf200682b3854bc50114ab2b8c62, afec5156361bb50d3607c7c1a453c19b9149b324, 98c66c858113949c4262d26cd7d426c4b09d2b35 and fd1d9d07fc92ec0d59f96dfb66182195882bb7dd; full details are in the advisory at https://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875 and https://cna.erlef.org/cves/CVE-2026-89422.html. If immediate patching is not possible, constrain TLS 1.3-capable clients to TLS 1.2 explicitly by passing versions => ['tlsv1.2'] (or removing tlsv1.3) in ssl:connect options - the advisory confirms TLS 1.2-only clients are unaffected, but the trade-off is loss of TLS 1.3 features such as 0-RTT, the newer cipher suites and any TLS 1.3-only extensions. Because exploitation requires the attacker to be the peer answering the connection, reducing the attack surface also helps: terminate TLS through a validating proxy or otherwise pin the expected server identity so that an on-path responder cannot satisfy the peer check, restrict egress DNS and routing to trusted infrastructure (at the cost of flexibility in dynamic or multi-tenant environments), and avoid initiating TLS 1.3 client connections to untrusted or user-supplied endpoints. This is a client-side state-machine defect, so servers and TLS 1.2-only clients need no change for this CVE, and no public exploit code has been identified at time of analysis.

Affected VersionsENISA

otp 9.5 <*
otp 21b8a1b0ad0adf200682b3854bc50114ab2b8c62 <*
otp 22.2 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-322 (Key Exchange without Entity Authentication) inside the TLS 1.3 state machine of Erlang/OTP's ssl application. In tls_client_connection_1_3:handle_server_hello/2, a pre_shared_key extension arriving in the ServerHello is handed to tls_gen_connection_1_3:handle_resumption/2, which sets resumption = true purely on the extension's presence and never checks that the client actually offered a PSK; tls_handshake_1_3:get_pre_shared_key/4 simultaneously falls back to the all-zero 'no PSK' placeholder and derives the handshake using the ordinary non-PSK key schedule, so the attacker's own ephemeral key is enough to key the session. The spurious resumption flag then makes maybe_resumption/1 route the handshake directly to wait_finished, skipping the wait_encrypted_extensions/wait_certificate/wait_certificate_verify states and thus bypassing certificate path validation, the verify_fun callback, hostname verification, partial_chain, CRL checking and OCSP stapling. The official fix adds a resumption field to the handshake_env record in ssl_connection.hrl and sets it only when a PSK was genuinely requested, restoring the certificate-handling path; the vulnerable component is the ssl application (CPE cpe:2.3:a:erlang:otp) from version 9.5 through the affected 11.x branches.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 9.1 CRITICAL

Network-reachable and deterministic to trigger (AC:L) with no auth or interaction; server impersonation breaks confidentiality and integrity of the session (C:H/I:H) but does not affect availability (A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Key Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to impersonate the intended server. A pre_shared_key extension in the ServerHello that the client never offered causes the client to complete the handshake without validating the server's certificate, so ssl:connect returns {ok, Socket} against a peer holding no certificate, no private key and no prior session.

tls_client_connection_1_3:handle_server_hello/2 passes the received extension to tls_gen_connection_1_3:handle_resumption/2, which sets resumption = true on its mere presence without checking that the client offered a PSK. tls_handshake_1_3:get_pre_shared_key/4 meanwhile falls back to the all-zero "no PSK" value and keys the handshake with the ordinary non-PSK schedule, so the attacker's own ephemeral key suffices. The resumption flag then routes maybe_resumption/1 straight to wait_finished, skipping the certificate-handling states, so certificate path validation, verify_fun, hostname verification, partial_chain, CRL checking and OCSP stapling are all bypassed. The default client configuration is affected; clients restricted to TLS 1.2 are not.

This issue affects OTP from OTP 22.2 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssl from 9.5 before 11.2.12.13, 11.6.0.6, and 11.7.7.

Technical POC Analysis

CWE-322: Key Exchange without Entity Authentication.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Erlang/OTP's TLS 1.3 client handshake in affected releases can be tricked into accepting an impersonated server without any certificate validation, enabling a network-positioned attacker to intercept or alter encrypted traffic. Organizations using Erlang/OTP-based applications for secure client connections are at risk of data exposure and loss of trust in their communications. Leadership should prioritize patching to maintain the integrity of sensitive data exchanges.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
Erlang/OTP runtime widely deployed in telecom, messaging (RabbitMQ), and Elixir/Phoenix backends
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

CVE-2026-55953 CRITICAL
9.1 Jul 27

An on-path attacker can force an Erlang/OTP TLS 1.2 or DTLS client to accept an anonymous cipher suite not offered by th

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy