Skip to main content

Erlang/OTP SSL EUVDEUVD-2026-41415

| CVE-2026-54891 MEDIUM
Improper Enforcement of Message Integrity During Transmission (CWE-924)
2026-07-02 EEF
6.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Attain on-path network position
  2. Delivery
    Intercept Erlang OTP TLS client handshake
  3. Exploit
    Inject plaintext APPLICATION_DATA records pre-authentication
  4. Execution
    Records buffered by vulnerable ssl client
  5. Persist
    Handshake completes; buffered records delivered as authenticated data
  6. Impact
    Application processes injected bytes as trusted server input

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

The attacker must occupy a network-positioned (on-path or machine-in-the-middle) vantage point capable of injecting TCP segments into the TLS connection before handshake completion - this is the primary limiting factor (AT:P in the CVSS 4.0 vector). The vulnerable endpoint must be operating as a TLS client (not a server) running Erlang/OTP ssl versions from 5.3.4 before 11.7.3, 11.6.0.3, or 11.2.12.10. No authentication to the OTP service is required (PR:N). No user interaction is required. The attacker cannot observe the client's responses or steer the connection after injection, restricting impact to blind byte insertion. The injection window is meaningfully wider for TLS 1.0/1.1/1.2 than for TLS 1.3, because TLS 1.3 encrypts more of the handshake earlier. Exploitation impact further depends on whether the receiving application protocol can be influenced by blindly injected bytes without out-of-band knowledge of application state.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N) reflects the realistic threat model accurately. The attack is network-accessible with no authentication required (PR:N), but demands high complexity (AC:H) and specific preconditions (AT:P) - namely, a machine-in-the-middle or on-path network position capable of injecting traffic before TLS authentication completes. The integrity impact is constrained to Low (VI:L) because the attacker operates blindly: they cannot observe the client's responses, cannot read decrypted data (VC:N), and cannot disrupt availability (VA:N). There is no scope change to downstream systems (SC/SI/SA all N). The vulnerability is not listed in CISA KEV and no public exploit code is referenced in the available intelligence, consistent with a disclosure-stage risk. EPSS data was not provided, so probabilistic exploitation likelihood cannot be quantified from this dataset. The practical exploitation risk is moderate: it is non-trivial to achieve on-path positioning, and the blind-injection constraint limits the attacker to influencing only application-layer protocols susceptible to command injection without round-trip knowledge. Organizations running Erlang OTP TLS clients on untrusted or multi-tenant networks face the greatest realistic exposure.

Exploit ScenarioDerived

An attacker with on-path network access between an Erlang OTP TLS client and its server intercepts the TLS handshake in progress and injects crafted plaintext APPLICATION_DATA frames before the client has authenticated the server. The OTP ssl client buffers these records, and upon successful handshake completion delivers them to the application layer as if they were authenticated server responses. If the application protocol does not independently authenticate or sequence its messages - such as a custom binary command protocol over TLS - the injected bytes may cause the client to execute forged server commands. No public exploit code has been identified at the time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 02, 2026

Blind plaintext injection into Erlang/OTP TLS clients allows a network-positioned attacker to insert unauthenticated APPLICATION_DATA records during the handshake that the application subsequently receives as authenticated post-handshake server data. The root asymmetry is in tls_gen_connection:handle_protocol_record/3, which correctly rejects pre-handshake APPLICATION_DATA for TLS server endpoints but omits the equivalent guard for client endpoints, enabling record buffering prior to authentication. No active exploitation has been confirmed (not in CISA KEV, no POC referenced), but the network-only attack requirement and breadth of affected OTP versions - spanning OTP 17.0 through current - make patching urgent for Erlang-based services that consume TLS client data in untrusted network environments.

RemediationAI

Upgrade Erlang/OTP to one of the patched releases: OTP 29.0.3 (ssl 11.7.3), OTP 28.5.0.3 (ssl 11.6.0.3), or OTP 27.3.4.14 (ssl 11.2.12.10), per the vendor advisory at https://github.com/erlang/otp/security/advisories/GHSA-gf6r-99xw-6qg6. The upstream fix is available at https://github.com/erlang/otp/commit/07d2d0e93f6aaf7652a81e8df075fc1728da5e96. If patching is not immediately feasible, restrict TLS negotiation to TLS 1.3 exclusively via ssl application configuration - this narrows (but does not eliminate) the injection window; note this is a breaking change for peers that do not support TLS 1.3. Additionally, deploying network-layer controls that prevent on-path attackers from injecting traffic (e.g., isolated VLANs, IPsec tunnels, or infrastructure-level mutual authentication) reduces attacker positioning opportunities, though this is not a substitute for patching. There are no known application-layer workarounds that fully compensate for the missing server-side guard in handle_protocol_record/3.

Affected VersionsENISA

otp 84adefa331c4159d432d22840663c38f155cd4c1 <07d2d0e93f6aaf7652a81e8df075fc1728da5e96
otp 5.3.4 <*
otp 17.0 <*

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 vulnerability resides in lib/ssl/src/tls_gen_connection.erl within the Erlang/OTP ssl application, specifically the handle_protocol_record/3 function responsible for dispatching incoming TLS record types based on connection state. CWE-924 (Improper Enforcement of Message Integrity During Transmission in a Communication Channel) precisely captures the root cause: the implementation enforces state-gated record handling asymmetrically between server and client roles. In TLS, APPLICATION_DATA records are only semantically valid after the handshake is complete and the session keys are established; processing them earlier violates the protocol's integrity guarantees. The affected CPE is cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:*. TLS 1.3 (added in OTP 22.0) has a narrower injection window due to its stricter handshake sequencing and earlier encryption of handshake messages, but is not immune. TLS 1.0/1.1/1.2 offer a wider pre-authentication window during which injected records accumulate in the client's receive buffer.

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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network-accessible (AV:N) but requires on-path positioning (AC:H); no authentication needed (PR:N); only blind integrity injection with no confidentiality or availability impact and no scope change.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Red Hat 3.7 LOW

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

DescriptionCVE.org

Improper Enforcement of Message Integrity During Transmission in a Communication Channel vulnerability in Erlang/OTP ssl (tls_gen_connection module) allows a network-positioned attacker to inject unauthenticated plaintext that the TLS client application later treats as authenticated server data.

The function tls_gen_connection:handle_protocol_record/3 rejects APPLICATION_DATA records that arrive in pre-handshake states when the TLS endpoint acts as a server, but does not apply the same check when the endpoint acts as a client. A network-positioned attacker can send plaintext APPLICATION_DATA records to the client during the handshake. The records are buffered and, once the handshake completes successfully, delivered to the application as if they were authenticated post-handshake data. The attacker cannot observe the client's response or steer the connection, so the impact is limited to blind injection of unauthenticated bytes. The injection window is wider for TLS versions prior to TLS 1.3 than for TLS 1.3.

This vulnerability is associated with program file lib/ssl/src/tls_gen_connection.erl.

This issue affects OTP from OTP 17.0 before 29.0.3, 28.5.0.3 and 27.3.4.14 corresponding to ssl from 5.3.4 before 11.7.3, 11.6.0.3 and 11.2.12.10. TLS 1.3 is affected starting with OTP 22.0, when TLS 1.3 support was added.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
core TLS stack for Erlang/Elixir ecosystem, widely used in telecom and fintech
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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-89422 CRITICAL
9.3 Sep 22

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 compl

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

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
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

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