CVE-2026-54891 Details
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.
A vulnerability in the Erlang/OTP SSL application, specifically in the tls_gen_connection module, allows a network-positioned attacker to inject unauthenticated plaintext during the TLS handshake. This injected data is later delivered to the TLS client application as if it were authenticated server data. The vulnerability arises because the function tls_gen_connection:handle_protocol_record/3 does not properly reject APPLICATION_DATA records sent to the client before the handshake is complete. As a result, an attacker can exploit this flaw to perform blind injection of unauthenticated bytes. The issue affects TLS versions prior to 1.3 more severely than 1.3, and is present in Erlang/OTP versions 17.0 prior to 29.0.3, 28.5.0.3, and 27.3.4.14, corresponding to SSL versions 5.3.4 prior to 11.7.3, 11.6.0.3, and 11.2.12.10.
Users can upgrade to Erlang/OTP versions 29.0.3, 28.5.0.3, or 27.3.4.14 to address this vulnerability. Instructions for applying these patches are available in the Erlang/OTP documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.erlef.org/cves/CVE-2026-54891.html | EEF | Vendor Advisory |
| https://github.com/erlang/otp/commit/07d2d0e93f6aaf7652a81e8df075fc1728da5e96 | EEF | Patch |
| https://github.com/erlang/otp/security/advisories/GHSA-gf6r-99xw-6qg6 | EEF | Vendor Advisory |
| https://osv.dev/vulnerability/EEF-CVE-2026-54891 | EEF | Third Party Advisory |
| https://www.erlang.org/doc/system/versions.html#order-of-versions | EEF | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-924 | Improper Enforcement of Message Integrity During Transmission in a Communication Channel | EEF |
Affected Products
| Product | Versions |
|---|---|
| erlang erlang/otp | >= 17.0, < 27.3.4.14 >= 28.0, < 28.5.0.3 >= 29.0, < 29.0.3 |
CPE
Remediation
| |
| erlang erlang/ssl | >= 5.3.4, < 11.2.12.10 >= 11.3, < 11.6.0.3 >= 11.7, < 11.7.3 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 8, 2026 | CVE Modified | EEF |
| Aug 26, 2026 | CVE Modified | EEF |
| Aug 3, 2026 | CVE Modified | EEF |
| Jul 24, 2026 | CVE Modified | EEF |
| Jul 7, 2026 | Initial Analysis | [email protected] |
| Jul 2, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2026 | New CVE Received | EEF |