Erlang/OTP patches TLS 1.2 client auth bypass (CVE-2026-124286) alongside SNMP DoS and VM crash flaws
A critical flaw, CVE-2026-124286, in the Erlang/OTP SSL application lets TLS 1.2 clients complete a handshake without authenticating the server, even with certificate verification enabled. A man-in-the-middle attacker can impersonate a legitimate server and read or modify traffic. Erlang/OTP disclosed it on November 24, 2026 with a CVSS score of 9.1. The same day, two further flaws were patched: CVE-2026-116225 (CVSS 8.7, SNMP decoder CPU DoS) and CVE-2026-116293 (CVSS 7.0, binary_to_term heap overrun crashing the BEAM VM) (securityonline.info). No exploitation in the wild is reported and no public exploit code is confirmed (securityonline.info). Exploitation needs a network position to intercept the connection, but no privileges or user interaction. The sources are news articles only; no vendor advisory, GHSA or fix PR was checked.
Entenda a falha
A vulnerabilidade
CVE-2026-124286 (CVSS 9.1) is in the Erlang/OTP ssl application. A TLS 1.2 client, or DTLS client, can finish a handshake without authenticating the server even with verify_peer enabled. The attacker needs a man-in-the-middle position, with no privileges or user interaction, and can then impersonate the server and read or modify traffic. It affects OTP 17.0 and later (ssl 5.3.4+) and is fixed in OTP 29.0.3, 28.5.0.9 and 27.3.4.14 (ssl 11.7.3, 11.6.0.8, 11.2.12.10). TLS 1.3 and the Erlang/OTP TLS server are not affected. CVE-2026-116225 (CVSS 8.7) is a CPU DoS in the SNMP decoder that can be triggered by unauthenticated UDP packets. CVE-2026-116293 (CVSS 7.0) is a heap overrun in binary_to_term that aborts the BEAM VM. Both are fixed in OTP 29.1.3, 28.5.0.9 and 27.3.4.20.
Como funciona
For the TLS flaw, an Erlang/OTP client opens a TLS 1.2 connection offering suites such as ECDHE_RSA. A rogue server answers without a Certificate message and sends an unsigned ServerKeyExchange, in effect anonymous ECDH presented as an authenticated suite. The client accepts it as an anonymous key exchange, so certificate path checks, verify_fun and hostname checks never run, and the session is established with no proof of server identity. For the SNMP flaw, a packet reaches the BER decoder, which decodes OID parts with no length cap before any authentication, so one large payload burns CPU. For binary_to_term, a crafted reference tag with a zero length field makes the decoder write past the heap and abort the VM.
Por que é vulnerável
The TLS flaw is classified as improper verification of a cryptographic signature: the link between the key exchange and the server's identity is not enforced, so an unsigned ServerKeyExchange is accepted. Maintainers said earlier hardening had fixed this on the OTP 29 and OTP 27 tracks, but the change was inadvertently omitted from OTP 28 until 28.5.0.9. The SNMP flaw is a missing length limit on OID parts that makes decoding quadratic in cost. The binary_to_term flaw is a missing check on a zero length field that causes an out-of-bounds heap access. The articles do not detail the code changes in the fixes.
Onde está
The articles name the ssl application for CVE-2026-124286, snmp_pdus:dec_oid_element/3 for CVE-2026-116225, and binary_to_term/1,2 and enif_binary_to_term() in erts for CVE-2026-116293; no file or commit is given for the TLS flaw.
Como foi descoberta
The Erlang/OTP maintainers' advisory credits security researcher Philip Calvin with discovering and reporting CVE-2026-124286, under responsible disclosure. The patches were released on November 24, 2026, and The Hacker News reported the advisory had come out the week before its November 30 article. The articles do not say who found the other two flaws or how. Securityonline.info says NVD, Brandefense and Mallory show no exploitation in the wild.
Explicação gerada por IA a partir da matéria e dos artigos, em 30/11/2026 06:18.
Detalhes técnicos
- The flaw breaks the link between key exchange and server identity. The advisory classifies it as improper verification of a cryptographic signature.
- A rogue server skips the Certificate message and sends an unsigned ServerKeyExchange; the client treats it as anonymous, so path checks, verify_fun and hostname checks never run. It also affects DTLS (securityonline.info).
- The default client configuration is exposed because it offers TLS 1.2 and the affected key exchanges. Setting verify_peer, loading trusted CAs and setting the expected server name do not prevent the bypass.
- The flaw was introduced in OTP 17.0 / ssl 5.3.4.
- TLS 1.3 connections and the Erlang/OTP TLS server implementation are unaffected.
- Maintainers said earlier hardening had fixed the issue on the OTP 29 and OTP 27 tracks, but the change was inadvertently omitted from OTP 28.
- The OTP release and the bundled ssl component have separate version numbers, so check the deployed runtime.
- CVE-2026-116225: snmp_pdus:dec_oid_element/3 has no length cap on OID parts; a 64 kB payload costs about 230 ms of CPU and decoding runs before authentication, so a low rate of UDP packets can lock up an SNMP agent or manager. Affects OTP 17.0+ (snmp 4.25.1+) (securityonline.info).
- CVE-2026-116293: a crafted reference tag with a zero length field in binary_to_term/1,2 and enif_binary_to_term() causes a heap overrun that aborts the VM, despite supervision, try/catch or the [safe] option, and may leak bytes past the input buffer. Affects erts 6.0+ (securityonline.info).
- Credit: Philip Calvin (responsible disclosure).
Remediação
- Upgrade to a fixed release: OTP 29.0.3 (ssl 11.7.3), 28.5.0.9 (ssl 11.6.0.8) or 27.3.4.14 (ssl 11.2.12.10) for the TLS flaw. For all three flaws, securityonline.info recommends OTP 29.1.3, 28.5.0.9 or 27.3.4.20.
- Workaround: restrict clients to TLS 1.3 with {versions, ['tlsv1.3']}. First confirm every endpoint supports TLS 1.3.
- Last resort for deployments that must keep TLS 1.2: static RSA key transport. It gives no forward secrecy and many servers reject it.
- Restrict SNMP UDP ports to trusted management hosts with firewall rules, and never pass untrusted external data to binary_to_term (securityonline.info).
- Review applications that make outbound TLS connections through Erlang/OTP, including services that also accept inbound traffic.
Linha do tempo
-
Erlang/OTP patches TLS 1.2 client auth bypass (CVE-2026-124286), SNMP DoS (CVE-2026-116225) and VM crash (CVE-2026-116293)
The article adds two further Erlang/OTP flaws patched the same day (CVE-2026-116225 SNMP DoS, CVE-2026-116293 VM heap overrun). It also lists the later OTP 29.1.3 and 27.3.4.20 releases, and states that no exploitation is confirmed.
ler a análise desta fonte ocultar
The article adds two further Erlang/OTP flaws patched the same day (CVE-2026-116225 SNMP DoS, CVE-2026-116293 VM heap overrun). It also lists the later OTP 29.1.3 and 27.3.4.20 releases, and states that no exploitation is confirmed.
The Erlang/OTP team patched three vulnerabilities on November 24, 2026 across OTP 29, 28 and 27. The most severe, CVE-2026-124286 (CVSS 9.1), lets an on-path attacker spoof any TLS 1.2 or DTLS server to Erlang/OTP ssl clients even with verify_peer enabled. CVE-2026-116225 (CVSS 8.7) is a quadratic-CPU denial of service in the SNMP BER decoder, and CVE-2026-116293 (CVSS 7.0) is a heap overrun in binary_to_term that aborts the BEAM VM. The article reports no confirmed exploitation and no public exploit code. This is a news report only; no vendor advisory was checked.
Technical Details
- CVE-2026-124286: a rogue server omits the Certificate message and sends an unsigned ServerKeyExchange. The client treats it as anonymous, so path checks, verify_fun and hostname checks never run. TLS 1.3 clients and Erlang/OTP TLS servers are not affected.
- CVE-2026-116225: snmp_pdus:dec_oid_element/3 has no length cap on OID parts. A 64 kB payload costs about 230 ms of CPU, and decoding runs before authentication, so a low rate of UDP packets can lock up an agent or manager.
- CVE-2026-116293: binary_to_term/1,2 and enif_binary_to_term() mishandle a reference tag with a zero length field. The result is a heap overrun that crashes the VM, which supervision, try/catch and the [safe] option cannot stop, and bytes past the input buffer may leak.
- Affected: OTP 17.0 and later (ssl 5.3.4+, snmp 4.25.1+, erts 6.0+).
Remediation
- Upgrade to OTP 29.1.3, 28.5.0.9 or 27.3.4.20. The TLS fix is also in 29.0.3 and 27.3.4.14, while OTP 28 only received it in 28.5.0.9.
- Workarounds: restrict TLS clients to TLS 1.3, firewall SNMP UDP ports to trusted management hosts, and never pass untrusted data to binary_to_term.
-
Erlang/OTP ssl flaw (CVE-2026-124286) lets TLS 1.2 clients skip server authentication, enabling man-in-the-middle impersonation
ler a análise desta fonte ocultar
A critical flaw, CVE-2026-124286, in the Erlang/OTP SSL application lets TLS 1.2 clients complete a handshake without authenticating the server, even with certificate verification enabled. A man-in-the-middle attacker can impersonate a legitimate server and read or modify traffic. Erlang/OTP disclosed it on November 24, 2026 with a CVSS score of 9.1. The article reports no exploitation in the wild. Exploitation needs a network position to intercept the connection, but no privileges or user interaction. This article is the only source; no vendor advisory, GHSA or fix PR was checked.
Technical Details
- The flaw breaks the link between key exchange and server identity. The advisory classifies it as improper verification of a cryptographic signature.
- The default client configuration is exposed because it offers TLS 1.2 and the affected key exchanges. Setting verify_peer, loading trusted CAs and setting the expected server name do not prevent the bypass.
- The flaw was introduced in OTP 17.0 / ssl 5.3.4.
- TLS 1.3 connections and the Erlang/OTP TLS server implementation are unaffected.
- Maintainers said earlier hardening had fixed the issue on the OTP 29 and OTP 27 tracks, but the change was inadvertently omitted from OTP 28.
- The OTP release and the bundled ssl component have separate version numbers, so check the deployed runtime.
- Credit: Philip Calvin (responsible disclosure).
Remediation
- Upgrade to a fixed release: OTP 29.0.3 (ssl 11.7.3), 28.5.0.9 (ssl 11.6.0.8) or 27.3.4.14 (ssl 11.2.12.10).
- Workaround: restrict clients to TLS 1.3 with {versions, ['tlsv1.3']}. First confirm every endpoint supports TLS 1.3.
- Last resort for deployments that must keep TLS 1.2: static RSA key transport. It gives no forward secrecy and many servers reject it.
- Review applications that make outbound TLS connections through Erlang/OTP, including services that also accept inbound traffic.