Home / Erlang / OTP / CVE-2026-58227
CVE-2026-58227: is it exploited, and which versions of Erlang OTP are affected and fixed?
CVE-2026-58227 is an uncontrolled recursion vulnerability in Erlang OTP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: OTP 10.2 and later and OTP 23.2 and later (CVE record by EEF). Fixed in 11.2.12.11, 11.6.0.4, 11.7.4, 27.3.4.15 and 2 more (CVE record by EEF). Severity: High (8.7, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-58227?
TLS/DTLS denial of service via unbounded recursion on cross-signed peer certificate chain
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.
From the CVE record by EEF, last updated November 20, 2026, 05:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Erlang | OTP ssl | 10.2 and later | 11.2.12.11, 11.6.0.4, 11.7.4 |
| Erlang | OTP otp | 23.2 and later | 27.3.4.15, 28.5.0.4, 29.0.4 |
| Erlang | OTP erlang/otp | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| erlang | erlang\/otp | from 23.2 before 27.3.4.15 | application |
| erlang | erlang\/otp | from 28.0 before 28.5.0.4 | application |
| erlang | erlang\/otp | from 29.0 before 29.0.4 | application |
| erlang | erlang\/ssl | from 10.2 before 11.2.12.11 | application |
| erlang | erlang\/ssl | from 11.3 before 11.6.0.4 | application |
| erlang | erlang\/ssl | from 11.7 before 11.7.4 | application |
NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.
How severe is CVE-2026-58227?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | 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 | EEF |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-58227 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 27, 2026)
- EPSS
- 0.64% probability of exploitation activity in the next 30 days, percentile 52.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Where are the vendor advisories and references?
- TLS Denial-of-Service using Invalid Cert Chains vendor-advisory, related
- EEF CNA record for CVE-2026-58227 related
- OSV record EEF-CVE-2026-58227 related
- Erlang/OTP version ordering x_version-scheme
- Introducing commit addc42d in erlang/otp related
- Fix commit 0307bff in erlang/otp patch
- Fix commit 241d437 in erlang/otp patch
- Fix commit 7db6472 in erlang/otp patch
Who found and reported it?
- Lukas Backström (finder)
- Ingela Anderton Andin (remediation developer)
- Dan Gudmundsson (remediation reviewer)
- Jakub Witczak (remediation reviewer)
- John Högberg (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 29, 2026
- Published
- July 27, 2026, 14:39 UTC
- CVE record updated
- November 20, 2026, 05:58 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect OTP?
- Apr 16, 2025CVE-2025-32433 erlang otp: missing authentication for a critical function exploited
- Nov 24, 2026CVE-2026-115747 Erlang OTP: memory corruption (buffer overflow)
- Nov 24, 2026CVE-2026-125658 Erlang OTP: use after free
- Nov 24, 2026CVE-2026-124286 Erlang OTP: cryptographic signature not verified
- Nov 24, 2026CVE-2026-120961 Erlang OTP: out-of-bounds read
- Nov 24, 2026CVE-2026-117642 Erlang OTP: uncontrolled recursion
- Nov 24, 2026CVE-2026-116293 Erlang OTP: quantity not validated
- Nov 24, 2026CVE-2026-116225 Erlang OTP: quantity not validated
Questions about CVE-2026-58227
Is CVE-2026-58227 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Erlang OTP are affected by CVE-2026-58227?
OTP 10.2 and later and OTP 23.2 and later, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-58227?
11.2.12.11, 11.6.0.4, 11.7.4, 27.3.4.15, 28.5.0.4 and 29.0.4, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-58227?
High (8.7, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-58227?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.