Vulnerability · Published Jul 2, 2026 · Assigned by EEF

CVE-2026-54891Plaintext APPLICATION_DATA injected during TLS handshake delivered to client application post-handshake in ssl

Medium 6.3

In plain English

A medium-severity security flaw in OTP from Erlang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.1%top 97.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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, from OTP 28.0 before OTP 28.5.0.3, and from OTP 29.0 before OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, from 11.3 before 11.6.0.3, and from 11.7 before 11.7.3. Whether OTP before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12erlangno fix listedDEBIAN-CVE-2026-54891
Debian:13erlang1:27.3.4.1+dfsg-1+deb13u3DEBIAN-CVE-2026-54891
Debian:14erlang1:29.0.3+dfsg-1DEBIAN-CVE-2026-54891
Ubuntu:22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.8UBUNTU-CVE-2026-54891
Ubuntu:22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.8USN-8901-1
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.8USN-8901-1
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.8UBUNTU-CVE-2026-54891
Ubuntu:25.10erlangno fix listedUBUNTU-CVE-2026-54891
Ubuntu:26.04:LTSerlang1:27.3.4.6+dfsg-1ubuntu0.2USN-8901-1
Ubuntu:26.04:LTSerlang1:27.3.4.6+dfsg-1ubuntu0.2UBUNTU-CVE-2026-54891

Affected products (as reported)

VendorProductVersions
Erlang OTP 17.0 – before 27.3.4.1428.0 – before 28.5.0.329.0 – before 29.0.3
Erlang OTP 5.3.4 – before 11.2.12.1011.3 – before 11.6.0.311.7 – before 11.7.3
Erlang OTP 84adefa331c4159d432d22840663c38f155cd4c1 – before 07d2d0e93f6aaf7652a81e8df075fc1728da5e96

Weakness: CWE-924 · Vector: 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

References