Skip to main content
EPSS 0.4%top 68%

CVE-2026-58227: CWE-674 Uncontrolled Recursion in Erlang OTP

0
High
Published: 07/27/2026 (07/27/2026, 16:17:00 UTC)
Source: CVE Database V5
Vendor/Project: Erlang
Product: OTP

Description

CVE-2026-58227 is a high-severity vulnerability in the Erlang/OTP ssl application where the system fails to detect cycles in peer certificate chains during TLS or DTLS handshakes. This flaw allows an unauthenticated remote attacker to send a crafted certificate chain that causes uncontrolled recursion, exhausting memory and crashing the BEAM node. Both TLS/DTLS clients and servers processing peer certificate messages are affected. The issue impacts multiple OTP versions prior to specific patched releases.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
ssl
pkg:github/ssl
Affected versions
=10.2
GitHub Actionsmore threats →cve
erlang/otp
pkg:github/erlang/otp
Affected versions
=23.2
CPE configurations
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 17:15:36 UTC

Technical Analysis

The Erlang/OTP ssl application does not detect cycles when reconstructing incomplete peer certificate chains during TLS or DTLS handshakes. Specifically, in ssl_certificate:handle_incomplete_chain/5, the chain is passed to ssl_certificate:build_certificate_chain/5, which calls ssl_certificate:do_certificate_chain/7 without cycle detection or depth limits. If a peer supplies two mutually cross-signed certificates in unordered form, the issuer lookup alternates indefinitely between them, causing infinite recursion that grows the call stack and memory usage without bound. This leads to memory exhaustion and a crash of the BEAM node. The vulnerability affects OTP versions from 23.2 before OTP 29.0.4, 28.5.0.4, and 27.3.4.15, corresponding to ssl versions 10.2 before 11.7.4, 11.6.0.4, and 11.2.12.11.

Potential Impact

An unauthenticated remote attacker can exploit this vulnerability by sending a specially crafted certificate chain during a TLS or DTLS handshake, causing uncontrolled recursion that exhausts memory and crashes the Erlang BEAM node. This results in denial of service for both TLS/DTLS clients and servers using the affected ssl application versions. No authentication or completed handshake is required to trigger the issue.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider limiting exposure to untrusted TLS/DTLS peers or applying any vendor-recommended temporary mitigations once published.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-06-29T18:54:08.633Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a677b469c2644c7f851288b

Added to database: 07/27/2026, 15:37:42 UTC

Last enriched: 08/12/2026, 17:15:36 UTC

Last updated: 09/10/2026, 18:10:37 UTC

Views: 116

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses