Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 78%

Allocation of resources without limits in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause denial… (CVE-2026-59251)

0
Medium
Published: 07/27/2026 (07/27/2026, 16:18:00 UTC)
Source: GCVE Database
Product: erlang

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1:16.b.1-dfsg-4ubuntu1=1:16.b.2-dfsg-1ubuntu1=1:16.b.2-dfsg-2ubuntu1=1:16.b.3-dfsg-1ubuntu1=1:16.b.3-dfsg-1ubuntu2=1:16.b.3-dfsg-1ubuntu2.1=1:16.b.3-dfsg-1ubuntu2.2=1:16.b.3-dfsg-1ubuntu2.2+esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/xenial
Affected versions
=1:18.0-dfsg-1ubuntu1=1:18.0-dfsg-1ubuntu2=1:18.2-dfsg-2ubuntu1=1:18.3-dfsg-1ubuntu1=1:18.3-dfsg-1ubuntu2=1:18.3-dfsg-1ubuntu3=1:18.3-dfsg-1ubuntu3.1=1:18.3-dfsg-1ubuntu3.1+esm1=1:18.3-dfsg-1ubuntu3.1+esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/bionic
Affected versions
=1:20.0.4+dfsg-1ubuntu1=1:20.1.2+dfsg-1ubuntu1=1:20.1.3+dfsg-1ubuntu1=1:20.1.4+dfsg-1ubuntu1=1:20.1.5+dfsg-1ubuntu1=1:20.1.6+dfsg-1ubuntu1=1:20.1.7+dfsg-1ubuntu1=1:20.2.1+dfsg-1ubuntu1=1:20.2.2+dfsg-1ubuntu1=1:20.2.2+dfsg-1ubuntu2=1:20.2.2+dfsg-1ubuntu2+esm1=1:20.2.2+dfsg-1ubuntu2+esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/focal
Affected versions
=1:22.0.7+dfsg-1build1=1:22.2+dfsg-1=1:22.2.1+dfsg-1=1:22.2.2+dfsg-1=1:22.2.3+dfsg-1=1:22.2.3+dfsg-2=1:22.2.4+dfsg-1=1:22.2.7+dfsg-1=1:22.2.7+dfsg-1ubuntu0.2=1:22.2.7+dfsg-1ubuntu0.3=1:22.2.7+dfsg-1ubuntu0.4=1:22.2.7+dfsg-1ubuntu0.5=1:22.2.7+dfsg-1ubuntu0.5+esm1
Ubuntu:22.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=jammy
Affected versions
=1:23.2.6+dfsg-1build1=1:24.1.1+dfsg-1=1:24.1.4+dfsg-1=1:24.1.5+dfsg-1=1:24.1.5+dfsg-1ubuntu1=1:24.2+dfsg-1=1:24.2.1+dfsg-1=1:24.2.1+dfsg-1ubuntu0.1=1:24.2.1+dfsg-1ubuntu0.2=1:24.2.1+dfsg-1ubuntu0.3=1:24.2.1+dfsg-1ubuntu0.4=1:24.2.1+dfsg-1ubuntu0.5=1:24.2.1+dfsg-1ubuntu0.6
Ubuntu:24.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=noble
Affected versions
=1:25.2.3+dfsg-1=1:25.3.2.8+dfsg-1=1:25.3.2.8+dfsg-1ubuntu1=1:25.3.2.8+dfsg-1ubuntu3=1:25.3.2.8+dfsg-1ubuntu4=1:25.3.2.8+dfsg-1ubuntu4.1=1:25.3.2.8+dfsg-1ubuntu4.2=1:25.3.2.8+dfsg-1ubuntu4.3=1:25.3.2.8+dfsg-1ubuntu4.4=1:25.3.2.8+dfsg-1ubuntu4.5=1:25.3.2.8+dfsg-1ubuntu4.6
Ubuntu:26.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=resolute
Affected versions
=1:27.3.4.1+dfsg-1build1=1:27.3.4.3+dfsg-1=1:27.3.4.4+dfsg-1=1:27.3.4.6+dfsg-1

Run 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

AILast updated: 08/12/2026, 17:15:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses