Impact
Erlang/OTP’s X.509 certificate path validation does not limit the size of the policy tree that is built during RFC 5280 policy processing. When a chain contains many policies per certificate, the tree can grow on the order of M^K nodes, where K is the number of certificates. The resulting memory consumption can exhaust the BEAM scheduler and bring the entire virtual machine down. This flaw is a classic resource exhaustion vulnerability (CWE‑770) and can be triggered by a simple, unauthenticated TLS handshake that submits a crafted certificate chain.
Affected Systems
The issue applies to Erlang/OTP releases prior to OTP 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, which correspond to the public_key library versions before 1.21.4, 1.20.3.4 and 1.17.1.5 respectively. All installations that rely on the default public_key path validation for TLS connections are susceptible.
Risk and Exploitability
The CVSS score of 8.7 indicates a high‑severity Denial of Service risk. An EPSS score of less than 1% indicates a very low but nonzero probability of exploitation, and the vulnerability is not listed in CISA KEV. The attack requires only the ability to establish a TLS session, which is typically possible for any network endpoint that performs peer verification. Once a malicious certificate chain is presented, the victim’s scheduler locks, memory is consumed, and the VM crashes. Because the flaw is remote and does not need privileged access, it is a realistic threat for any public service that accepts TLS connections.
OpenCVE Enrichment