CVE-2026-105236
Description
A flaw was found in Erlang/OTP. This issue allows a remote attacker to bypass authentication and gain unauthorized access to protected services. When multiple virtual hosts share a listener, the Transport Layer Security (TLS) session cache does not bind cached sessions to the specific Server Name Indication (SNI) hostname or client trust policy. A client authenticated to one virtual host can resume a TLS 1.2 session against a different virtual host sharing the same server certificate, avoiding certificate revalidation against the target host's Certificate Authority (CA).
Statement
A moderate-impact flaw in the Erlang/OTP ssl application affects the erlang27 package in Red Hat Hardened Images. An Erlang/OTP TLS server that serves several SNI virtual hosts from a single listen socket (through sni_fun or sni_hosts) keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. A remote attacker who holds a client certificate trusted by one SNI virtual host can resume that TLS 1.2 session against a different SNI virtual host on the same listener that shares the same server certificate, bypassing revalidation of the client certificate against the target host's certificate authority (CA) and gaining unauthorized access to protected services. Exploitation requires a specific configuration: at least two SNI names on one listener that share a server certificate (common with wildcard or multi-SAN certificates) while using distinct client CAs, TLS 1.2 negotiation, session reuse enabled, and a valid client certificate for one of the virtual hosts. TLS 1.3 is not affected because it does not use this session cache. The affected Red Hat Hardened Images component is AFFECTED with a delegated resolution, so a fix is being pursued through that maintenance stream. Red Hat rates this flaw moderate severity with a CVSS 3.1 score of 4.8, lower than the upstream CVSS 4.0 score of 6.3, because successful exploitation depends on the specific multi-virtual-host configuration described above.
Mitigation
Workarounds are available for Erlang/OTP TLS servers that serve multiple SNI virtual hosts from a single listener:
- Serve SNI names that require distinct client CA trust domains on separate listen sockets, so each listener keeps its own TLS session cache.
- Explicitly set {reuse_sessions, false} in each SNI service's option set, or in the default server configuration, to disable TLS 1.2 session resumption for client-authenticating virtual hosts.
- Use TLS 1.3, which is not affected because it does not use the pre-TLS 1.3 session-ID cache.
In addition, update to the fixed erlang27 package provided through the Red Hat Hardened Images errata for this flaw.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.8 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | High | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | Low | N/A | N/A |
| Integrity Impact | Low | N/A | N/A |
| Availability Impact | None | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.