Erlang · Erlang/OTP · published 2026-07-27
CVE-2026-58227TLS/DTLS denial of service via unbounded recursion on cross-signed peer certificate chain
Routine No exploitation evidence; EPSS 0.5%.
CVE-2026-58227 is not known to be exploited in the wild. EPSS estimates a 0.5% chance of exploitation in the next 30 days, higher than 42% of all CVEs. This Erlang/OTP vulnerability: CVSS 8.7 (v4.0), attacks can be automated. Fixed upstream in Erlang/OTP 29.0.4, 28.5.0.4, 27.3.4.15. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Erlang/OTP 29.0.4, 28.5.0.4, 27.3.4.15.
Patch events
Language runtimeErlang/OTP
Erlang/OTP security releases: 29.0.4, 28.5.0.4, 27.3.4.15
Upgrade to
29.0.428.5.0.427.3.4.15Why: Vendor security release for server software (most severe: CVE-2026-55953).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.5% (42th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 8.7 (v4.0)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Erlang OTP
23.2to before*(affected)
- Erlang OTP
10.2to before*(affected)
- Erlang OTP
addc42df113f8f15fc20e9dff45490b3ce0d3d6bto before*(affected)
Description (from the CVE record)#
The Erlang/OTP ssl application does not detect cycles when reconstructing an incomplete peer certificate chain during a TLS or DTLS handshake. In ssl_certificate:handle_incomplete_chain/5, the received chain is passed to ssl_certificate:build_certificate_chain/5, which walks issuer relationships via ssl_certificate:do_certificate_chain/7 with no cycle detection and no depth limit. When the peer supplies two mutually cross-signed certificates in unordered form (A issues B, B issues A), the issuer lookup alternates between the two certificates and the pair of functions recurses indefinitely, growing the call stack and chain accumulator without bound. An unauthenticated remote attacker can send a crafted certificate chain in a TLS or DTLS Certificate handshake message to exhaust available memory and crash the BEAM node. Only a TCP connection and a partial handshake are required; no authentication or completed handshake is needed, and both TLS/DTLS servers and clients are affected when processing peer certificate messages. This issue affects OTP from OTP 23.2 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to ssl from 10.2 before 11.2.12.11, 11.6.0.4, and 11.7.4.
Quoted from the CVE Program record.