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

- Severity: Medium 6.3 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-07-02T16:06:30.982Z
- Modified: 2026-11-25T06:30:11.335Z
- Also known as: EEF-CVE-2026-54891, GHSA-gf6r-99xw-6qg6
- Weaknesses: CWE-924
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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, 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.

(As written by CVE List.)

## Affected

- ssl: from 5.3.4 before *
- otp: from 17.0 before *
- erlang/otp: from 84adefa331c4159d432d22840663c38f155cd4c1 before 07d2d0e93f6aaf7652a81e8df075fc1728da5e96 (not affected: from 07d2d0e93f6aaf7652a81e8df075fc1728da5e96 before *)
- https://github.com/erlang/otp: from 84adefa331c4159d432d22840663c38f155cd4c1 before 07d2d0e93f6aaf7652a81e8df075fc1728da5e96
- erlang erlang/otp: from 17.0 before 27.3.4.14; from 28.0 before 28.5.0.3; from 29.0 before 29.0.3
- erlang erlang/ssl: from 5.3.4 before 11.2.12.10; from 11.3 before 11.6.0.3; from 11.7 before 11.7.3

## Every score

- EEF: CVSS:4.0 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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-gf6r-99xw-6qg6> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-54891.html> (related, vendor-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-54891> (related, third-party-advisory)
- <https://www.erlang.org/doc/system/versions.html#order-of-versions> (release-notes, web)
- <https://github.com/erlang/otp/commit/07d2d0e93f6aaf7652a81e8df075fc1728da5e96> (fix, patch)

## Sources

- CVE List: [CVE-2026-54891](https://www.cve.org/CVERecord?id=CVE-2026-54891), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-54891](https://osv.dev/vulnerability/EEF-CVE-2026-54891), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-54891](https://nvd.nist.gov/vuln/detail/CVE-2026-54891), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-54891 · Whole record: https://cve.day/CVE-2026-54891.json · Rebuilt by cve.day 2026-11-25T22:59:27.044Z
