CVE-2026-58227: TLS/DTLS denial of service via unbounded recursion on cross-signed peer certificate chain

Published Jul 27, 2026
·
Updated

The Erlang/OTP ssl application does not detect cycles when reconstructing an incomplete peer certificate chain during a TLS or DTLS handshake. In sslcertificate:handleincompletechain/5, the received chain is passed to sslcertificate:buildcertificatechain/5, which walks issuer relationships via sslcertificate:docertificatechain/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 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to ssl from 10.2 before 11.7.4, 11.6.0.4 and 11.2.12.11.

Other sources

TLS/DTLS denial of service via unbounded recursion on cross-signed peer certificate chain

Microsoft

Affected Software

10 affected componentsFixes available
Erlang/OTP OTP ssl>23.2<=29.0.4
Erlang/OTP OTP ssl=28.5.0.4
Erlang/OTP OTP ssl=27.3.4.15
Microsoft azl3 erlang 26.2.5.21-4<26.2.5.21-3
26.2.5.21-3
Erlang Erlang\/otp>=23.2<27.3.4.15
Erlang Erlang\/otp>=28.0<28.5.0.4
Erlang Erlang\/otp>=29.0<29.0.4
Erlang Erlang\/ssl>=10.2<11.2.12.11
Erlang Erlang\/ssl>=11.3<11.6.0.4
Erlang Erlang\/ssl>=11.7<11.7.4

Event History

Jul 27, 2026
CVE Published
via MITRE·02:39 PM
Data Sourced
via MITRE·02:39 PM
DescriptionWeakness
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 7, 2026
Data Sourced
via Microsoft·07:41 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:41 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-58227?

CVE-2026-58227 has a high severity rating of 8.7 on the CVSS scale.

2

How do I fix CVE-2026-58227?

To mitigate CVE-2026-58227, ensure that you update to the latest version of the Erlang/OTP ssl application that addresses this vulnerability.

3

What type of attack does CVE-2026-58227 facilitate?

CVE-2026-58227 facilitates denial of service attacks via unbounded recursion during TLS or DTLS handshakes.

4

Which applications are affected by CVE-2026-58227?

CVE-2026-58227 affects the Erlang/OTP ssl application used for handling TLS and DTLS protocols.

5

When was CVE-2026-58227 published?

CVE-2026-58227 was published on July 27, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203