CVE-2026-118898

partisan decodes peer-plane frames with binary_to_term before authentication, allowing a remote VM abort

Published Nov 25, 2026 CVSS 4.0 · 8.7 High EPSS n/a KEV · Not listed
Description
Deserialization of Untrusted Data vulnerability in lasp-lang partisan allows an unauthenticated remote attacker to abort the Erlang VM of a node via Excessive Allocation. partisan_peer_service_server:handle_info/2 decodes every frame that arrives on the peer listener with binary_to_term/1, without the safe option, before handle_inbound/2 interprets the message and before any peer authentication takes place. TLS is off by default and the listener accepts connections from any host, so one frame that names more atoms than the atom table holds aborts the VM. partisan_peer_service_client:handle_info/2 decodes frames from the server side of a connection the same way.

The decode also materializes funs, ports and references the frame encodes and inflates compressed terms. The demonstrated impact is denial of service. partisan does not invoke decoded funs, so code execution was not shown.

This issue affects partisan: from 3.0.0 before 6.4.0.

Analysis

AI-generated

Technical impact

The vulnerability exists because partisan decodes peer-plane frames using binary_to_term before authentication; the decoder can materialize a large number of atoms or compressed data. An attacker can send a single crafted frame that forces the Erlang VM to allocate resources beyond the atom table, causing the node to abort and denying service. No executable code paths are invoked, so the impact is limited to denial of service rather than arbitrary code execution. This is a classic deserialization of untrusted data weakness (CWE-502).

Affected Systems

lasp-lang partisan versions from 3.0.0 up to but not including 6.4.0 are affected when the peer listener is enabled and TLS is disabled, as the default configuration exposes the listener to unauthenticated connections. Any node running a vulnerable version in a network where the peer listener port is reachable is at stake.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and because the vulnerable listener is exposed by default, the likelihood of exploitation is high. The attack requires only network access to the open peer listener port; the attacker can trigger the abort with a single malicious frame. The vulnerability is not listed in the CISA KEV catalog, but exploitability remains significant given public knowledge and the lack of TLS protection.

Remediation

Vendor Solution

The fixed release adds peer authentication and leaves it off by default (peer_auth_methods is []). A node stays exposed until the option is set. Set peer_auth_methods on every node to a list of cryptosign, gossip_keyring or hmac_secret without anonymous, with the trust material of each listed method (peer_auth_cryptosign, peer_auth_keyring, peer_auth_secret). The node then accepts only authentication frames of at most 4096 bytes from a peer that has not authenticated, and reads them without binary_to_term/1. A node on an earlier release cannot connect to a node that requires authentication. Set the option on all nodes with anonymous at the end of the list, then remove anonymous. Peer authentication does not encrypt or sign later traffic, so use it over TLS 1.3 on a network that is not trusted.


Vendor Workaround

Enable mutual TLS on the peer plane. Set tls to true and give tls_server_options a cluster CA in cacertfile together with {verify, verify_peer} and {fail_if_no_peer_cert, true}, and give tls_client_options the same CA with {verify, verify_peer}. The server then rejects a connection during the handshake unless the client presents a certificate the cluster CA issued, so the decode is only reachable by cluster members. Server-only TLS, or verify_none, does not help. Where TLS cannot be enabled, restrict the peer listener port to trusted hosts with a host firewall or a private network segment.


OpenCVE Recommended Actions

  • Upgrade lasp-lang partisan to a version that implements peer authentication and disables anonymous peers by default.
  • Configure the peer_auth_methods option to a list of cryptographic methods such as cryptosign, gossip_keyring or hmac_secret and ensure anonymous is removed from the list.
  • Enable mutual TLS on the peer plane: set tls to true, provide a cluster CA certificate in cacertfile, and configure both server and client options to verify_peer.

Generated by OpenCVE AI on November 25, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Deserialization of Untrusted Data vulnerability in lasp-lang partisan allows an unauthenticated remote attacker to abort the Erlang VM of a node via Excessive Allocation. partisan_peer_service_server:handle_info/2 decodes every frame that arrives on the peer listener with binary_to_term/1, without the safe option, before handle_inbound/2 interprets the message and before any peer authentication takes place. TLS is off by default and the listener accepts connections from any host, so one frame that names more atoms than the atom table holds aborts the VM. partisan_peer_service_client:handle_info/2 decodes frames from the server side of a connection the same way. The decode also materializes funs, ports and references the frame encodes and inflates compressed terms. The demonstrated impact is denial of service. partisan does not invoke decoded funs, so code execution was not shown. This issue affects partisan: from 3.0.0 before 6.4.0.
Title partisan decodes peer-plane frames with binary_to_term before authentication, allowing a remote VM abort
First Time appeared Lasp-lang
Lasp-lang partisan
Weaknesses CWE-502
CPEs cpe:2.3:a:lasp-lang:partisan:*:*:*:*:*:*:*:*
Vendors & Products Lasp-lang
Lasp-lang partisan
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 25, 2026, 4:42 AM
Reserved
Nov 9, 2026, 11:11 PM
Status
Received
Published
Nov 25, 2026, 5:18 AM
Modified
Nov 25, 2026, 5:18 AM