Allocation of resources without limits in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause denial… (CVE-2026-59251)
A resource allocation vulnerability in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause a denial of service by sending a specially crafted X.509 certificate chain during the TLS handshake. The certificate policy tree grows exponentially with the number of policies and certificates, exhausting memory and CPU resources, potentially taking down the entire Erlang VM. This affects OTP versions from 26.2 before 29.0.4, 28.5.0.4, and 27.3.4.15, corresponding to certain public_key versions.
AI Analysis
Technical Summary
The vulnerability in Erlang/OTP public_key certificate path validation arises because the certificate policy tree maintained during RFC 5280 policy processing grows without an upper bound. Specifically, the functions pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2 extend the policy tree per policy per certificate, causing exponential growth (on the order of M^K nodes for M policies per certificate and K certificates). An attacker can exploit this by presenting a crafted X.509 certificate chain during the TLS handshake, causing resource exhaustion that pins BEAM schedulers and exhausts memory, resulting in denial of service of the Erlang VM. This vulnerability affects OTP versions from 26.2 up to but not including 29.0.4, 28.5.0.4, and 27.3.4.15, and the corresponding public_key versions prior to 1.21.4, 1.20.3.4, and 1.17.1.5.
Potential Impact
Exploitation leads to denial of service by exhausting CPU and memory resources of the Erlang VM, potentially causing the entire VM to become unresponsive. The attacker only needs to present a crafted certificate chain during a TLS handshake, which is a normal part of TLS communication, making any incoming or outgoing TLS connection that validates peer certificates vulnerable.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability affects specific OTP and public_key versions as stated. Until a patch or official fix is confirmed, consider restricting or validating incoming certificate chains to limit policy complexity if possible. Monitor vendor advisories for updates and apply official patches once available.
Allocation of resources without limits in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause denial… (CVE-2026-59251)
Description
A resource allocation vulnerability in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause a denial of service by sending a specially crafted X.509 certificate chain during the TLS handshake. The certificate policy tree grows exponentially with the number of policies and certificates, exhausting memory and CPU resources, potentially taking down the entire Erlang VM. This affects OTP versions from 26.2 before 29.0.4, 28.5.0.4, and 27.3.4.15, corresponding to certain public_key versions.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/xenialpkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/focalpkg:deb/ubuntu/erlang?arch=source&distro=jammypkg:deb/ubuntu/erlang?arch=source&distro=noblepkg:deb/ubuntu/erlang?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Erlang/OTP public_key certificate path validation arises because the certificate policy tree maintained during RFC 5280 policy processing grows without an upper bound. Specifically, the functions pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2 extend the policy tree per policy per certificate, causing exponential growth (on the order of M^K nodes for M policies per certificate and K certificates). An attacker can exploit this by presenting a crafted X.509 certificate chain during the TLS handshake, causing resource exhaustion that pins BEAM schedulers and exhausts memory, resulting in denial of service of the Erlang VM. This vulnerability affects OTP versions from 26.2 up to but not including 29.0.4, 28.5.0.4, and 27.3.4.15, and the corresponding public_key versions prior to 1.21.4, 1.20.3.4, and 1.17.1.5.
Potential Impact
Exploitation leads to denial of service by exhausting CPU and memory resources of the Erlang VM, potentially causing the entire VM to become unresponsive. The attacker only needs to present a crafted certificate chain during a TLS handshake, which is a normal part of TLS communication, making any incoming or outgoing TLS connection that validates peer certificates vulnerable.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability affects specific OTP and public_key versions as stated. Until a patch or official fix is confirmed, consider restricting or validating incoming certificate chains to limit policy complexity if possible. Monitor vendor advisories for updates and apply official patches once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-59251
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a7c9b68bf8831d539cdf554
Added to database: 08/12/2026, 16:12:24 UTC
Last enriched: 08/12/2026, 17:15:21 UTC
Last updated: 08/13/2026, 00:41:13 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.