Multiple Erlang/OTP Flaws Enable Remote DoS and VM Crashes
Vulnerability Disclosure · 6 sources · Updated 4mo ago · First seen Jul 27, 2026

Erlang/OTP users were urged to patch after multiple vulnerabilities were disclosed across the platform, including high-severity flaws that can crash BEAM nodes or exhaust resources during normal protocol handling. CVE-2026-59251 affects public_key certificate path validation, where a crafted X.509 chain can trigger exponential certificate policy tree growth during a TLS handshake and consume CPU and memory until the VM fails. CVE-2026-58227 affects the ssl application, where mutually cross-signed certificates can cause unbounded recursion while rebuilding incomplete TLS or DTLS peer chains, allowing an unauthenticated attacker to crash either servers or clients before authentication completes.
A separate high-severity flaw, CVE-2026-54890, impacts the erts External Term Format decoder used by binary_to_term/1, binary_to_term/2, and enif_binary_to_term(), where an integer underflow in BIT_BINARY_EXT decoding can trigger near-2^64 memory allocation and terminate the entire Erlang VM. National cyber authorities in Canada and Italy published advisories directing administrators to review Erlang security bulletins and update affected releases, while the Italian notice said the broader disclosure set includes additional Erlang/OTP issues spanning denial of service, remote code execution, authentication bypass, and security feature bypass. Fixed versions cited across the disclosures include 27.3.4.15, 28.5.0.4, and 29.0.4.
Why it matters
Impact assessment
Multiple newly disclosed Erlang/OTP flaws create a material availability risk for organizations running BEAM-based services, especially internet-facing TLS/DTLS services, mutual-TLS deployments, and applications that decode untrusted Erlang External Term Format data. The immediate impact is remote denial of service up to full Erlang VM termination, which can disrupt highly available distributed systems and any business workflows built on them.
The exposure appears broad across supported Erlang/OTP branches rather than narrowly targeted, because the vulnerable code sits in common platform components: public_key, ssl, and erts. The references do not report confirmed exploitation in the wild, but the attack paths are unauthenticated, network-reachable in common deployments, and severe enough that national cyber authorities in Canada and Italy issued patch guidance.
Affected populations
- Organizations operating Erlang/OTP-based distributed systems
- Internet-facing services using Erlang/OTP TLS or DTLS
- Mutual-TLS servers validating client certificate chains
- TLS/DTLS clients validating peer certificate chains
- Applications decoding untrusted ETF data via
binary_to_term/1,binary_to_term/2, orenif_binary_to_term() - Environments using Erlang distribution outside strictly trusted networks
Severity and business effect
- Primary impact is availability loss through CPU exhaustion, memory exhaustion, BEAM node crash, or full VM abort
- Operational disruption can affect clustered messaging, telecom, backend APIs, and other high-availability services commonly built on Erlang/OTP
- VM-level termination in
ertsmeans standard Erlang supervision and exception handling do not contain the failure for CVE-2026-54890 - Broader disclosure set reportedly includes additional issues spanning remote code execution, authentication bypass, and security feature bypass, increasing urgency for full bulletin review
Scope and exploitation status
- Scope is widespread for Erlang/OTP deployments on affected branches, not limited to a single application
- Exploitation can occur before authentication completes for TLS/DTLS certificate-handling flaws
- No published evidence of active exploitation in the provided references
- Government advisories from Canada and Italy indicate elevated concern and recommend prompt updates


