CVE-2026-54891

MEDIUM CVSS 4.0: 6.3 EPSS 0.14%
Updated Nov 20, 2026
Erlang
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions 11.3 — 29.0.3
Fixed In 27.3.4.14
Type CWE-924
Vendor Erlang
Public PoC No

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. TLS 1.3 is affected starting with OTP 22.0, when TLS 1.3 support was added. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.3, and 11.7.3.

Whether OTP before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 6

Configuration From (including) Up to (excluding)
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
17.0 27.3.4.14
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
28.0 28.5.0.3
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
29.0 29.0.3
Erlang Erlang\/Ssl
cpe:2.3:a:erlang:erlang\/ssl:*:*:*:*:*:*:*:*
5.3.4 11.2.12.10
Erlang Erlang\/Ssl
cpe:2.3:a:erlang:erlang\/ssl:*:*:*:*:*:*:*:*
11.3 11.6.0.3
Erlang Erlang\/Ssl
cpe:2.3:a:erlang:erlang\/ssl:*:*:*:*:*:*:*:*
11.7 11.7.3