CVE-2026-58227: Erlang/OTP ssl - Denial of Service
- Cve: CVE-2026-58227
- Name: Erlang/OTP ssl - Denial of Service
- Description: 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.
- Impact: Unauthenticated remote attackers can exhaust memory and crash the BEAM node, causing denial of service.
- Remediation: Upgrade to OTP 29.0.4, 28.5.0.4, 27.3.4.15 or later versions.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00478
- Epss percentile: 0.41781
- Assignee: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- Published at: 2026-07-27T16:17:56Z
- Age in days: 120
- Modified at: 2026-11-20T06:17:33Z
- Patch available: yes
- References total: 8
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-58227
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-674 | Uncontrolled Recursion |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| erlang:erlang/otp | >= 29.0, < 29.0.4; >= 28.0, < 28.5.0.4; >= 23.2, < 27.3.4.15 | no | nvd | /v1/products/erlang/erlang/otp |
| erlang:erlang/ssl | >= 11.7, < 11.7.4; >= 11.3, < 11.6.0.4; >= 10.2, < 11.2.12.11 | no | nvd | /v1/products/erlang/erlang/ssl |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| erlang/otp | commit, fix, security_advisory | yes | /v1/repositories/erlang/otp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts