ADVISORIES

Vulnerability

CVE-2026-58227

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.

14 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • AZL-94205

    CVE-2026-58227 affecting package erlang for versions less than 26.2.5.21-4

    CVE-2026-58227 Azure Linux Updated 23 November 2026
  • CNA-CVE-2026-58227

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

    CVE-2026-58227 Erlang Updated 20 November 2026
  • DEBIAN-CVE-2026-58227

    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…

    CVE-2026-58227 Debian Updated 20 November 2026
  • DSA-6464-1

    erlang - security update

    CVE-2026-28808CVE-2026-28810CVE-2026-32144CVE-2026-32147 Debian Updated 20 November 2026
  • OESA-2026-3463

    erlang security update

    High CVE-2026-42792CVE-2026-55737CVE-2026-55953CVE-2026-58227 openEuler Updated 20 August 2026
  • OESA-2026-3464

    erlang security update

    High CVE-2026-42792CVE-2026-55737CVE-2026-55953CVE-2026-58227 openEuler Updated 20 August 2026
  • OESA-2026-3465

    erlang security update

    High CVE-2026-42792CVE-2026-55737CVE-2026-55953CVE-2026-58227 openEuler Updated 20 August 2026
  • SUSE-SU-2026:3579-1

    Security update for erlang26

    CVE-2026-28810CVE-2026-42789CVE-2026-42790CVE-2026-42792 SUSE Updated 12 August 2026
  • SUSE-SU-2026:3645-1

    Security update for erlang

    CVE-2026-28810CVE-2026-42789CVE-2026-42790CVE-2026-42792 SUSE Updated 21 August 2026
  • SUSEVEX-CVE-2026-58227

    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…

    Important CVE-2026-58227 SUSEopenSUSE Updated 12 November 2026
  • UBUNTU-CVE-2026-58227

    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…

    CVE-2026-58227 Ubuntu Updated 18 November 2026
  • USN-8827-1

    erlang vulnerabilities

    CVE-2026-23941CVE-2026-42792CVE-2026-54890CVE-2026-55737 Ubuntu Updated 28 September 2026
  • openSUSE-SU-2026:11559-1

    erlang-28.5.0.4-1.1 on GA media

    CVE-2026-28808CVE-2026-42789CVE-2026-42790CVE-2026-42791 openSUSE Updated 21 August 2026
  • openSUSE-SU-2026:11560-1

    erlang27-27.1.3-3.1 on GA media

    CVE-2025-26618CVE-2026-42792CVE-2026-47078CVE-2026-48855 openSUSE Updated 21 August 2026

References