UBUNTU-CVE-2026-58227 (CVE-2026-58227)
Vulnerability from osv_ubuntu – Published: 2026-07-27 16:17 – Updated: 2026-09-28 20:31 – Source websiteThe 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.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "erlang",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-asn1",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-base",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-common-test",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-crypto",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-debugger",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-dialyzer",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-diameter",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-edoc",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-eldap",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-erl-docgen",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-et",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-eunit",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-examples",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-ftp",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-inets",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-jinterface",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-manpages",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-megaco",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-mnesia",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-mode",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-nox",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-observer",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-odbc",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-os-mon",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-parsetools",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-public-key",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-reltool",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-runtime-tools",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-snmp",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-src",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-ssh",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-ssl",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-syntax-tools",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-tftp",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-tools",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-wx",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-x11",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
},
{
"binary_name": "erlang-xmerl",
"binary_version": "1:24.2.1+dfsg-1ubuntu0.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "erlang",
"purl": "pkg:deb/ubuntu/erlang@1:24.2.1+dfsg-1ubuntu0.7?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:24.2.1+dfsg-1ubuntu0.7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:23.2.6+dfsg-1build1",
"1:24.1.1+dfsg-1",
"1:24.1.4+dfsg-1",
"1:24.1.5+dfsg-1",
"1:24.1.5+dfsg-1ubuntu1",
"1:24.2+dfsg-1",
"1:24.2.1+dfsg-1",
"1:24.2.1+dfsg-1ubuntu0.1",
"1:24.2.1+dfsg-1ubuntu0.2",
"1:24.2.1+dfsg-1ubuntu0.3",
"1:24.2.1+dfsg-1ubuntu0.4",
"1:24.2.1+dfsg-1ubuntu0.5",
"1:24.2.1+dfsg-1ubuntu0.6"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "erlang",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-asn1",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-base",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-common-test",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-crypto",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-debugger",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-dialyzer",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-diameter",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-edoc",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-eldap",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-erl-docgen",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-et",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-eunit",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-examples",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-ftp",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-inets",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-jinterface",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-manpages",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-megaco",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-mnesia",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-mode",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-nox",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-observer",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-odbc",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-os-mon",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-parsetools",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-public-key",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-reltool",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-runtime-tools",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-snmp",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-src",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-ssh",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-ssl",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-syntax-tools",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-tftp",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-tools",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-wx",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-x11",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
},
{
"binary_name": "erlang-xmerl",
"binary_version": "1:25.3.2.8+dfsg-1ubuntu4.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "erlang",
"purl": "pkg:deb/ubuntu/erlang@1:25.3.2.8+dfsg-1ubuntu4.7?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:25.3.2.8+dfsg-1ubuntu4.7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:25.2.3+dfsg-1",
"1:25.3.2.8+dfsg-1",
"1:25.3.2.8+dfsg-1ubuntu1",
"1:25.3.2.8+dfsg-1ubuntu3",
"1:25.3.2.8+dfsg-1ubuntu4",
"1:25.3.2.8+dfsg-1ubuntu4.1",
"1:25.3.2.8+dfsg-1ubuntu4.2",
"1:25.3.2.8+dfsg-1ubuntu4.3",
"1:25.3.2.8+dfsg-1ubuntu4.4",
"1:25.3.2.8+dfsg-1ubuntu4.5",
"1:25.3.2.8+dfsg-1ubuntu4.6"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "erlang",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-asn1",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-base",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-common-test",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-crypto",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-debugger",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-dialyzer",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-diameter",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-edoc",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-eldap",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-et",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-eunit",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-examples",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-ftp",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-inets",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-jinterface",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-megaco",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-mnesia",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-mode",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-nox",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-observer",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-odbc",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-os-mon",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-parsetools",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-public-key",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-reltool",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-runtime-tools",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-snmp",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-src",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-ssh",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-ssl",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-syntax-tools",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-tftp",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-tools",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-wx",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-x11",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
},
{
"binary_name": "erlang-xmerl",
"binary_version": "1:27.3.4.6+dfsg-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "erlang",
"purl": "pkg:deb/ubuntu/erlang@1:27.3.4.6+dfsg-1ubuntu0.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:27.3.4.6+dfsg-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:27.3.4.1+dfsg-1build1",
"1:27.3.4.3+dfsg-1",
"1:27.3.4.4+dfsg-1",
"1:27.3.4.6+dfsg-1"
]
}
],
"aliases": [],
"details": "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\u00a029.0.4, OTP\u00a028.5.0.4 and OTP\u00a027.3.4.15, corresponding to ssl from 10.2 before 11.7.4, 11.6.0.4 and 11.2.12.11.",
"id": "UBUNTU-CVE-2026-58227",
"modified": "2026-09-28T20:31:12Z",
"published": "2026-07-27T16:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-58227"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-58227"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8827-1"
}
],
"related": [
"USN-8827-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-58227"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.