CVE-2026-58227

HighCVSS 7.5/10Last modified Oct 24, 2026

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 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.

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jul 27, 2026
Last modified
Oct 24, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-582285.1Cross-site scripting vulnerability in phoenixframework phoenix_live_view allows an attacker to bypass URL scheme validation and execute JavaCVE-2026-582298.2Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host anCVE-2026-58236.3A weakness has been identified in itsourcecode Construction Management System 1.0. Affected by this issue is some unknown functionality of tCVE-2026-582307.0SAP Approuter does not sufficiently validate certain token content under specific configurations. An unauthenticated attacker could send a sCVE-2026-5823110.0SAP Commerce Cloud allows an unauthenticated attacker to abuse a default authentication client and submit specially crafted input to certainCVE-2026-582337.6SAP Change and Transport System Attach Tool (ctsattach) allows an authenticated attacker to supply a specially crafted archive file which, wCVE-2026-582342.2SAP Process Integration (SOAP Adapter) allows a privileged user to send specially crafted requests containing deeply nested entity definitioCVE-2026-582356.3SAP NetWeaver Application Server Java (Adobe Document Service) uses outdated open source cryptographic and data transfer libraries that contCVE-2026-582365.5SAP NetWeaver Application Server ABAP and ABAP Platform allow an attacker with high privileges to bypass missing security controls on an intCVE-2026-582375.9WebSocket of SAP Approuter does not perform sufficient authorization checks in certain functionality. An attacker with low privileges could CVE-2026-582385.9SAP Approuter does not sufficiently handle certain requests under specific conditions. An unauthenticated attacker could send specially crafCVE-2026-582393.7SAP Approuter does not sufficiently validate tenant context in inbound requests. An unauthenticated attacker could send specially crafted re
CVE-2026-58227: High severity, CVSS 7.5 | Vulnix