Allocation of resources without limits in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause denial of service by sending a crafted X.509 certificate…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- —
- Published
- Jul 27, 2026
- In the news
- Not yet
What to do
A serious security flaw in Erlang Otp and Erlang Public Key that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 1.17.1.5, 1.20.3.4, 1.21.4, 27.3.4.15, 28.5.0.4, 29.0.4
Affected versions
- Erlang Otp
- 26.2 to before 27.3.4.15; 28.0 to before 28.5.0.4; 29.0 to before 29.0.4; 1.15; 26.2
- Erlang Public Key
- 1.15 to before 1.17.1.5; 1.18 to before 1.20.3.4; 1.21 to before 1.21.4
Description
Allocation of resources without limits in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause denial of service by sending a crafted X.509 certificate chain during the TLS handshake.
During RFC 5280 policy processing in public_key:pkix_path_validation/3, the certificate policy tree maintained by pubkey_policy_tree grows without an upper bound. When a certificate chain contains M policies per certificate and K certificates, the tree grows on the order of M^K nodes because pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2 extend the tree per policy per certificate. A modest chain with many policies per certificate is enough to pin BEAM schedulers and exhaust the node's memory, taking down the entire VM. The attacker only needs to be able to present a certificate chain to the victim, which is the normal precondition for a TLS handshake, so exploitation succeeds against any incoming or outgoing TLS connection that validates the peer's chain (the default for SSL/TLS clients and mutual-TLS servers).
This is the same vulnerability class as OpenSSL's X509_verify_cert policy tree DoS.
This vulnerability is associated with program files lib/public_key/src/pubkey_policy_tree.erl and program routines pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2.
This issue affects OTP from OTP 26.2 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to public_key from 1.15 before 1.17.1.5, 1.20.3.4, and 1.21.4.
Affected products
Get alerts for these →Timeline 3
Latest change: Nessus plugin 346027: Fedora 44 : erlang (2026-64363fe778) (Nov 19, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Nov 20, 2026
- DetectionNessus plugin 346027: Fedora 44 : erlang (2026-64363fe778)Tenable
- DetectionNessus plugin 346198: Fedora 43 : erlang (2026-02481296e8)Tenable
Mon, Jul 27, 2026
- CVECVE-2026-59251 published (CVSS 7.5)CVE Program · 16:18 UTC
References 7
- cna.erlef.org Patch /cves/CVE-2026-59251.html
- github.com Patch /erlang/otp/commit/f04c6bba38de1cf1b1836a7d9a9fbe239bd939e8
- github.com Patch /erlang/otp/commit/f8580fc117098c08165f46c26fd0750c5cfb2a90
- osv.dev Patch /vulnerability/EEF-CVE-2026-59251
- github.com Vendor Advisory /erlang/otp/security/advisories/GHSA-622p-qfh6-c352
- github.com /erlang/otp/commit/9d1dda7bad5a64b58c10a1554751689e94131a73
- www.erlang.org /doc/system/versions.html#order-of-versions