Skip to main content
No exploitation reportedFix available

CVE-2026-58227

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

No exploitation reported by the sources we read.

  • Published2026-07-27
  • Fixed in29.0.4 · 28.5.0.4 · 27.3.4.15
  • WeaknessCWE-674

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-07-2714:39CVE publishedCNA

Versions per branch

NVD
Erlang erlang\/otp
BranchAffectedFixed in
29.0≥ 29.0, < 29.0.429.0.4
28.x≥ 28.0, < 28.5.0.428.5.0.4
27.3≥ 23.2, < 27.3.4.1527.3.4.15
Erlang erlang\/ssl
BranchAffectedFixed in
11.7≥ 11.7, < 11.7.411.7.4
11.x≥ 11.3, < 11.6.0.411.6.0.4
11.2≥ 10.2, < 11.2.12.1111.2.12.11

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA3 products

As EEF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Erlang OTPother versions: not affected

    package otp

    Affected
    • ≥ 23.2fixed in 27.3.4.15otp
  • Erlang OTPother versions: not affected

    package sslhttps://github.com/erlang/otp

    Affected
    • ≥ 10.2fixed in 11.2.12.11otp
  • Erlang OTPother versions: not affected

    package erlang/otphttps://github.com

    Affected
    • ≥ addc42df113f8f15fc20e9dff45490b3ce0d3d6bfixed in 7db64720177961e04545681480d691c4be81c54dgit

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-11

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • erlangUbuntu:Pro:20.04:LTSall versions · fixed in 1:22.2.7+dfsg-1ubuntu0.5+esm2
  • erlangUbuntu:Pro:18.04:LTSall versions · fixed in 1:20.2.2+dfsg-1ubuntu2+esm3
  • erlangUbuntu:Pro:16.04:LTSall versions · fixed in 1:18.3-dfsg-1ubuntu3.1+esm3
  • erlangUbuntu:Pro:14.04:LTSall versions · fixed in 1:16.b.3-dfsg-1ubuntu2.2+esm2
  • erlangUbuntu:26.04:LTSall versions · fixed in 1:27.3.4.6+dfsg-1ubuntu0.1
  • erlangUbuntu:24.04:LTSall versions · fixed in 1:25.3.2.8+dfsg-1ubuntu4.7
  • erlangUbuntu:22.04:LTSall versions · fixed in 1:24.2.1+dfsg-1ubuntu0.7
  • erlangSUSE:Linux Enterprise Server for SAP Applications 15 SP6all versions · fixed in 23.3.4.19-150300.3.39.1

22 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update Erlang erlang\/otp to 29.0.4 · 28.5.0.4 · 27.3.4.15

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-07-27
  • CNACVSS 4.08.72026-11-11
  • NVDCVSS 3.17.5read 2026-11-11
  • CNAweakness (CWE)CWE-6742026-11-11
  • FIRST EPSSEPSS score0.5 %2026-11-17
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 4.0 vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-07-27
Last Modified
2026-11-11
NVD status
Modified

Frequently asked questions

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

Is CVE-2026-58227 actively exploited?

Active exploitation of CVE-2026-58227 has not been confirmed. Its EPSS score was 0.5% on 2026-11-17, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-58227?

CVE-2026-58227 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running erlang? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record