CVE-2026-58227: Erlang/OTP TLS/DTLS Certificate-Chain Uncontrolled Recursion Denial of Service
- Vendor
- Erlang
CVE-2026-58227 is an uncontrolled-recursion vulnerability in the Erlang/OTP ssl application during reconstruction of incomplete peer certificate chains in TLS or DTLS handshakes. ssl_certificate:handle_incomplete_chain/5 invokes ssl_certificate:build_certificate_chain/5, which follows issuer relationships through ssl_certificate:do_certificate_chain/7 without cycle detection or a depth limit. An unordered chain containing two mutually cross-signed certificates can cause issuer lookup to alternate indefinitely, growing the call stack and chain accumulator until memory is exhausted. Both clients and servers processing peer certificates are affected. Affected releases begin at OTP 23.2, with fixes in OTP 29.0.4, 28.5.0.4, and 27.3.4.15; corresponding fixed ssl versions are 11.7.4, 11.6.0.4, and 11.2.12.11.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated remote attacker can exhaust available memory and crash the BEAM node, denying service to applications sharing that runtime, not merely the individual TLS or DTLS connection. Exploitation does not require successful authentication or completion of the handshake. No confidentiality or integrity impact is established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict inbound access to affected Erlang TLS/DTLS services to trusted peers and limit affected clients' outbound connections to trusted endpoints. These controls reduce exposure but do not correct the vulnerable certificate-chain processing. No configuration-only workaround is established.
Remediation
Patch, then assume compromise.
Upgrade to OTP 29.0.4, 28.5.0.4, or 27.3.4.15, or a later fixed release in the applicable branch. Alternatively, install distribution packages containing backported fixes. Fixed packages include erlang-26.2.5.21-7.fc43 for Fedora 43, erlang-26.2.5.21-7.fc44 for Fedora 44, and 1:27.3.4.1+dfsg-1+deb13u3 or later for Debian trixie. The certificate-chain reconstruction logic must detect issuer cycles and enforce a maximum chain depth.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-58227 exploited in the wild?
- As of Nov 11, 2026, Mallory has no reports of CVE-2026-58227 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-58227?
- As of Nov 11, 2026, Mallory has found no public exploit for CVE-2026-58227.
- Is there a patch for CVE-2026-58227?
- Upgrade to OTP 29.0.4, 28.5.0.4, or 27.3.4.15, or a later fixed release in the applicable branch. Alternatively, install distribution packages containing backported fixes.
- What products are affected by CVE-2026-58227?
- Erlang/OTP and Erlang/Ssl.
- How severe is CVE-2026-58227?
- CVE-2026-58227 has a CVSS v4 score of 8.7 (High) and an EPSS score of 0.83% (55th percentile) as of Nov 11, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.