CVE-2026-59251
Last modified
CVE-2026-59251 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to public_key from 1.15 before 1.21.4, 1.20.3.4 and 1.17.1.5.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Erlang | Erlang\/Otp | >= 26.2, < 27.3.4.15 |
| Erlang | Erlang\/Otp | >= 28.0, < 28.5.0.4 |
| Erlang | Erlang\/Otp | >= 29.0, < 29.0.4 |
| Erlang | Erlang\/Public Key | >= 1.15, < 1.17.1.5 |
| Erlang | Erlang\/Public Key | >= 1.18, < 1.20.3.4 |
| Erlang | Erlang\/Public Key | >= 1.21, < 1.21.4 |
References
- https://cna.erlef.org/cves/CVE-2026-59251.htmlPatch, Third Party Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-59251Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59251?
How severe is CVE-2026-59251?
How do I fix CVE-2026-59251?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59245In the Apache Airflow FAB auth manager, a DAG whose `dag_id`…8.1
- CVE-2026-59246Allocation of resources without limits vulnerability in elix…6.3
- CVE-2026-59247Insufficient Verification of Data Authenticity vulnerability…7.6
- CVE-2026-59248Allocation of resources without limits vulnerability in nine…8.7
- CVE-2026-59249Inconsistent interpretation of HTTP requests (HTTP response …6.3
- CVE-2026-59250Classic buffer overflow in the Erlang/OTP megaco flex scanne…8.3
- CVE-2026-59252Improper Validation of Specified Quantity in Input in ZenHiv…8.2
- CVE-2026-59253n8n before 2.28.0 contains an improper authorization vulnera…5
- CVE-2026-59254n8n before 2.28.1 contains an information disclosure vulnera…6.3
- CVE-2026-59255BloodHound through 9.4.0, fixed in commit 8f79035, contains …7.1
- CVE-2026-59257n8n before 1.123.61, 2.x before 2.27.4, and 2.28.x before 2.…8.8
- CVE-2026-59258immich before 3.0.3 contains a broken access control vulnera…8.3
Are you affected by CVE-2026-59251?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
