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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2026-07-2714:39CVE publishedCNA
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 29.0 | ≥ 29.0, < 29.0.4 | 29.0.4 | NVD |
| 28.x | ≥ 28.0, < 28.5.0.4 | 28.5.0.4 | NVD |
| 27.3 | ≥ 23.2, < 27.3.4.15 | 27.3.4.15 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.7 | ≥ 11.7, < 11.7.4 | 11.7.4 | NVD |
| 11.x | ≥ 11.3, < 11.6.0.4 | 11.6.0.4 | NVD |
| 11.2 | ≥ 10.2, < 11.2.12.11 | 11.2.12.11 | NVD |
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
Fix
- Update Erlang erlang\/otp to 29.0.4 · 28.5.0.4 · 27.3.4.15
Advisories and patches
- cna.erlef.orgPatch
- github.comPatch
- github.comPatch
- github.comPatch
- github.comVendor Advisory
- osv.devPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-18
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- AZL-94205same flawAzure Linux · MIT
- EUVD-2026-49315same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- OESA-2026-3463advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3464advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3465advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:11559-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11560-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2026:3579-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:3645-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-8827-1advisory covering several CVEsUbuntu
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?
Is CVE-2026-58227 actively exploited?
What is the CVSS score for CVE-2026-58227?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-32433KEVsame product
- CVE-2022-37026same product
- CVE-2016-1000107same product
- CVE-2026-23943same product
- CVE-2026-28808same productScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)
- CVE-2026-55952same product
- CVE-2026-23941same product
- CVE-2026-49759same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0