CVE-2026-105236TLS 1.2 session resumption in ssl crosses SNI virtual-host client-certificate trust…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | erlang | Fix pending | UBUNTU-CVE-2026-105236 | |
| Ubuntu 26.04 | erlang | Under investigation | UBUNTU-CVE-2026-105236 | |
| Ubuntu 24.04 | erlang | Under investigation | UBUNTU-CVE-2026-105236 | |
| Ubuntu 22.04 | erlang | Under investigation | UBUNTU-CVE-2026-105236 | |
| Ubuntu 20.04 | erlang | Fix pending | UBUNTU-CVE-2026-105236 | |
| Ubuntu 18.04 | erlang | Fix pending | UBUNTU-CVE-2026-105236 | |
| Ubuntu 16.04 | erlang | Fix pending | UBUNTU-CVE-2026-105236 | |
| Ubuntu 14.04 | erlang | Fix pending | UBUNTU-CVE-2026-105236 | |
| Debian 14 | erlang | Fixed | 1:29.1.2+dfsg-1 | DEBIAN-CVE-2026-105236 |
| Debian 13 | erlang | Fix pending | DEBIAN-CVE-2026-105236 | |
| Debian 12 | erlang | Fix pending | DEBIAN-CVE-2026-105236 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 7.0 and later; fixed in
11.2.12.14,11.6.0.7,11.7.8 - Erlang OTP: affected: 18.0 and later; fixed in
27.3.4.19,28.5.0.8,29.1.2 - Erlang OTP: affected: 4fe38c4b8b2c8024afb60990e598ff823743fd54 and later; fixed in
0c20f3683b3c81fd30b46047195be9b3d2c69d76,10ee925d0fee8413f1170cc21bfcf123c8d22454,4d76adbf39d547a931048544df09c3c087e56618
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.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-2g23-cgjh-34gq (vendor-advisory)
- https://github.com/erlang/otp/commit/0c20f3683b3c81fd30b46047195be9b3d2c69d76 (patch)
- https://github.com/erlang/otp/commit/10ee925d0fee8413f1170cc21bfcf123c8d22454 (patch)
- https://github.com/erlang/otp/commit/4d76adbf39d547a931048544df09c3c087e56618 (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-2g23-cgjh-34gq
- https://cna.erlef.org/cves/CVE-2026-105236.html
- https://osv.dev/vulnerability/EEF-CVE-2026-105236
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/4fe38c4b8b2c8024afb60990e598ff823743fd54
- https://github.com/erlang/otp/commit/0c20f3683b3c81fd30b46047195be9b3d2c69d76
- https://github.com/erlang/otp/commit/10ee925d0fee8413f1170cc21bfcf123c8d22454
- https://github.com/erlang/otp/commit/4d76adbf39d547a931048544df09c3c087e56618
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.