cve.bz

CVE-2026-105236 erlang otp: Improper Certificate Validation

6.3 mediumEPSS 0.4%Fix available

Medium (6.3) in erlang otp. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Erlang OTP: fixed in 27.3.4.19
  • Erlang OTP: fixed in 28.5.0.8
  • Erlang OTP: fixed in 29.1.2
  • Erlang OTP: fixed in 11.2.12.14
  • Erlang OTP: fixed in 11.6.0.7
  • Erlang OTP: fixed in 11.7.8
  • Debian, Red Hat, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-105236 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-105236?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-105236?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-105236 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Erlang OTP18.0 and later
Erlang OTP7.0 and later

Fixed in

ProductFixed in
Erlang OTP27.3.4.19
Erlang OTP28.5.0.8
Erlang OTP29.1.2
Erlang OTP11.2.12.14
Erlang OTP11.6.0.7
Erlang OTP11.7.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13erlangno fix listedDEBIAN-CVE-2026-105236
Debian14erlang1:29.1.2+dfsg-1DEBIAN-CVE-2026-105236
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 moreerlangno fix listedUBUNTU-CVE-2026-105236
Red Hathummingbird:1erlang27, erlang27-et, erlang27-wx and 36 more0:27.3.4.19-0.1.hum1RHSA-2026:83217
Azure Linux3erlang26.2.5.21-8AZL-108201

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Hardened Imageserlang27-main-27.3.4.19-0.1.hum1Fixed 2026-10-14RHSA-2026:83217
Red Hat OpenStack Platform 13 (Queens)erlangFix deferred
Red Hat OpenStack Platform 16.2erlangFix deferred
Red Hat OpenStack Platform 17.1erlangFix deferred
Red Hat OpenStack Platform 18.0erlangFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-105236.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON