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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-924
- **Published:** 2026-07-02T16:06:30.982Z
- **Modified:** 2026-11-20T06:17:31.420Z

## Who should check

- Anyone running Erlang OTP \>= 5.3.4, \< \*
- Anyone running Erlang OTP \>= 17.0, \< \*
- Anyone running Erlang OTP \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< 07d2d0e93f6aaf7652a81e8df075fc1728da5e96

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

## Affected and fixed versions

- Erlang OTP: \>= 5.3.4, \< \* (cvelist)
- Erlang OTP: \>= 17.0, \< \* (cvelist)
- Erlang OTP: \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< 07d2d0e93f6aaf7652a81e8df075fc1728da5e96 (cvelist)

## Mitigation

- Upgrade OTP to 07d2d0e93f6aaf7652a81e8df075fc1728da5e96 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54891. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54891.md
Affected: Erlang OTP >= 5.3.4, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1, < 07d2d0e93f6aaf7652a81e8df075fc1728da5e96
Fixed in: Erlang OTP 07d2d0e93f6aaf7652a81e8df075fc1728da5e96

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54891 being exploited?

There is no confirmed exploitation: CVE-2026-54891 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54891?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-54891?

Erlang OTP \>= 5.3.4, \< \*; Erlang OTP \>= 17.0, \< \*; Erlang OTP \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< 07d2d0e93f6aaf7652a81e8df075fc1728da5e96.

### Is there a fix for CVE-2026-54891?

Yes. Fixed in Erlang OTP 07d2d0e93f6aaf7652a81e8df075fc1728da5e96. Upgrade OTP to 07d2d0e93f6aaf7652a81e8df075fc1728da5e96 or later.

### How do I check if I'm affected by CVE-2026-54891?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/erlang/otp/security/advisories/GHSA-gf6r-99xw-6qg6>
- vendor: <https://cna.erlef.org/cves/CVE-2026-54891.html>
- patch: <https://github.com/erlang/otp/commit/07d2d0e93f6aaf7652a81e8df075fc1728da5e96>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-54891>
- other: <https://www.erlang.org/doc/system/versions.html#order-of-versions>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54891>

HTML: <https://flawdb.com/CVE-2026-54891> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54891>
