Technical impact
Erlang/OTP’s public_key library builds a policy tree during TLS path validation. Each certificate may add many policy nodes, and the functions pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2 expand the tree with no upper bound. For a chain of K certificates that each allow M distinct policies, the tree can grow to about M^K nodes. An attacker can exploit this by presenting a specially crafted X.509 chain during the TLS handshake. The resulting unchecked memory allocation and scheduler queue growth can exhaust the node, causing the VM to hang or crash, which manifests as a denial of service. The flaw is remote, unauthenticated, and can affect any TLS client or server that performs peer certificate validation.
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.
Debian DSA
Ubuntu USN