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 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.
- Published
- Jul 27, 2026
- Updated
- Aug 10, 2026
- EPSS
- 0.7% · 50th percentile
- CWE
- CWE-674
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
34
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · EEF
- 8.7
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| erlang | erlang\/otp | cpe:2.3:a:erlang:erlang\/otp |
| erlang | erlang\/ssl | cpe:2.3:a:erlang:erlang\/ssl |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- erlang erlang/otp23.2 and later · before 27.3.4.15
- erlang erlang/otp28.0 and later · before 28.5.0.4
- erlang erlang/otp29.0 and later · before 29.0.4
- erlang erlang/ssl10.2 and later · before 11.2.12.11
- erlang erlang/ssl11.3 and later · before 11.6.0.4
- erlang erlang/ssl11.7 and later · before 11.7.4
Versions reported by the vendor
Affected version ranges reported by the assigning authority (EEF). Independent of NVD's CPE analysis and usually ahead of it.
Erlang OTP
- 10.2 and lateraffected · otpfixed in 11.7.4, 11.6.0.4, 11.2.12.11
- 23.2 and lateraffected · otpfixed in 29.0.4, 28.5.0.4, 27.3.4.15
- addc42df113f8f15fc20e9dff45490b3ce0d3d6b and lateraffected · gitfixed in 7db64720177961e04545681480d691c4be81c54d, 241d43703989fec4b6bf637beaeb366d92dcc4c2, 0307bff2c72b685c6bd952daaac6bd661c247d62
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | erlang | all versions | — |
| Debian:13 | erlang | before 1:27.3.4.1+dfsg-1+deb13u3 | 1:27.3.4.1+dfsg-1+deb13u3 |
| Debian:14 | erlang | before 1:29.0.4+dfsg-1 | 1:29.0.4+dfsg-1 |
| openSUSE:Tumbleweed | erlang27 | before 27.1.3-3.1 | 27.1.3-3.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP7 | erlang | before 23.3.4.19-150300.3.39.1 | 23.3.4.19-150300.3.39.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP7 | erlang26 | before 26.2.1-150300.7.28.1 | 26.2.1-150300.7.28.1 |
Same product
erlang: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-32433Erlang/OTP SSH Vulnerable to Pre-Authentication RCEKEV100Now
- CVE-2022-37026In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in certain client-cert39Monitor
- CVE-2016-10253An issue was discovered in Erlang/OTP 18.x.39Monitor
- CVE-2026-55953TLS 1.2 and DTLS client accepts unoffered anonymous cipher suite, bypassing server authentication36Monitor
- CVE-2026-49759Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash35Monitor
- CVE-2026-59251Denial of service via exponential certificate policy tree growth in path validation34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Erlang OTP | 0307bff2c72b685c6bd952daaac6bd661c247d62 | Vendor (CNA) |
| Erlang OTP | 11.2.12.11 | Vendor (CNA) |
| Erlang OTP | 11.6.0.4 | Vendor (CNA) |
| Erlang OTP | 11.7.4 | Vendor (CNA) |
| Erlang OTP | 241d43703989fec4b6bf637beaeb366d92dcc4c2 | Vendor (CNA) |
| Erlang OTP | 27.3.4.15 | Vendor (CNA) |
| Erlang OTP | 28.5.0.4 | Vendor (CNA) |
| Erlang OTP | 29.0.4 | Vendor (CNA) |
| Erlang OTP | 7db64720177961e04545681480d691c4be81c54d | Vendor (CNA) |
| Debian:erlang | 1:27.3.4.1+dfsg-1+deb13u3 · Debian:13 | Package registry (OSV) |
| openSUSE:erlang27 | 27.1.3-3.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| SUSE:erlang | 23.3.4.19-150300.3.39.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP7 | Package registry (OSV) |
| SUSE:erlang26 | 26.2.1-150300.7.28.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-674 · Uncontrolled RecursionCVSS 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
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- cna.erlef.org/cves/CVE-2026-58227.html
- github.com/erlang/otp/commit/0307bff2c72b685c6bd952daaac6bd661c247d62
- github.com/erlang/otp/commit/241d43703989fec4b6bf637beaeb366d92dcc4c2
- github.com/erlang/otp/commit/7db64720177961e04545681480d691c4be81c54d
- github.com/erlang/otp/security/advisories/GHSA-r5jr-mq46-vmhw
- osv.dev/vulnerability/EEF-CVE-2026-58227
- www.erlang.org/doc/system/versions.html#order-of-versions
Vendor advisories and official records. Exploit/PoC links are deliberately left out.