# CVE-2026-105236: TLS 1.2 session resumption in ssl crosses SNI virtual-host client-certificate trust boundaries

> 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:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; 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.47% (percentile 33, 2026-11-28)
- **CWE:** CWE-295
- **Published:** 2026-10-14T16:55:51.495Z
- **Modified:** 2026-11-20T06:17:16.360Z

## Who should check

- Anyone running Erlang OTP \>= 7.0, \< \*
- Anyone running Erlang OTP \>= 18.0, \< \*
- Anyone running Erlang OTP \>= 4fe38c4b8b2c8024afb60990e598ff823743fd54, \< \*

## Description

Improper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there.

A server that serves several SNI names from one 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. When an SNI option set switches to verify\_peer without naming reuse\_sessions, ssl\_config:update\_options/3 inherits the base listener's reuse\_sessions value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake ssl\_session:is\_resumable/4 checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected.

This issue affects OTP from OTP 18.0 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8.

## Affected and fixed versions

- Erlang OTP: \>= 7.0, \< \* (cvelist)
- Erlang OTP: \>= 18.0, \< \* (cvelist)
- Erlang OTP: \>= 4fe38c4b8b2c8024afb60990e598ff823743fd54, \< \* (cvelist)

## Mitigation

- Vendor workaround: \* Set {reuse\_sessions, false} in each SNI service's option set, or in the base listener options. The reporter's proof of concept confirmed that this blocks the cross-name resumption.
- \* Serve distinct SNI trust domains on separate listen sockets, which gives each its own session cache.
- \* Restrict the listener to TLS 1.3 with {versions, \['tlsv1.3'\]}. TLS 1.3 does not use the session-ID cache.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-105236.md
Affected: Erlang OTP >= 7.0, < *; Erlang OTP >= 18.0, < *; Erlang OTP >= 4fe38c4b8b2c8024afb60990e598ff823743fd54, < *
Fixed in: no fixed version listed yet

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-105236 being exploited?

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

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

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

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

Erlang OTP \>= 7.0, \< \*; Erlang OTP \>= 18.0, \< \*; Erlang OTP \>= 4fe38c4b8b2c8024afb60990e598ff823743fd54, \< \*.

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

No fixed version is listed in the sources yet. Vendor workaround: \* Set {reuse\_sessions, false} in each SNI service's option set, or in the base listener options. The reporter's proof of concept confirmed that this blocks the cross-name resumption. \* Serve distinct SNI trust domains on separate listen sockets, which gives each its own session cache. \* Restrict the listener to TLS 1.3 with {versions, \['tlsv1.3'\]}. TLS 1.3 does not use the session-ID cache.

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

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-2g23-cgjh-34gq>
- patch: <https://github.com/erlang/otp/commit/4fe38c4b8b2c8024afb60990e598ff823743fd54>
- patch: <https://github.com/erlang/otp/commit/0c20f3683b3c81fd30b46047195be9b3d2c69d76>
- patch: <https://github.com/erlang/otp/commit/10ee925d0fee8413f1170cc21bfcf123c8d22454>
- patch: <https://github.com/erlang/otp/commit/4d76adbf39d547a931048544df09c3c087e56618>
- other: <https://cna.erlef.org/cves/CVE-2026-105236.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-105236>
- 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-105236>

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