CVE-2026-75538

A Signed Length Overflow in Erlang/OTP's inet TCP Driver Overflows the Receive Buffer Into BEAM VM Memory From an Unauthenticated Peer

Published Sep 1, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
An attacker that connects to an open Erlang TCP port that uses the inet driver with {packet,4} mode can use a signed overflow in an incorrect packet length calculation to overflow the receive buffer into the VM allocator area and beyond up to about 2 GB.

This would easily trash the allocated block's allocator metadata footer, and the next block, if any, and most likely cause the BEAM VM to crash. Utilizing this with precision enough to achieve Remote Code Execution would be extremely unfeasible.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to erts from 6.0 before 15.2.7.13, 16.4.0.6, and 17.0.6. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.

Analysis

AI-generated

Technical impact

An attacker that connects to an open Erlang TCP port using the inet driver in {packet,4} mode can cause a signed overflow in the packet length calculation. The overflow allows the receive buffer to grow into the BEAM VM's allocator region, spilling over into adjacent memory for roughly 2 GB. This can destroy the allocator's metadata footer, corrupt the next block if present, and almost guarantees a crash of the BEAM virtual machine. Although a finely tuned packet sequence might theoretically achieve remote code execution, it would require extreme precision and is considered unfeasible; the practical effect is a denial of service for the affected Erlang/OTP node.

Affected Systems

The flaw is present in Erlang/OTP releases up to OTP 27.3.4.17, up to OTP 28.5.0.6, and up to OTP 29.0.6, including the corresponding erts releases before these patch points. In short, any Erlang/OTP install that does not incorporate the commit fixing the overflow is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.2 labels the issue as high severity, and despite the EPSS score of 0.00854 (<1%) the nature of the overflow indicates a non‑trivial exploit effort. The vulnerability is publicly exploitable over an open network port, but the lack of a reliable remote‑code‑execution path and the need for precise packet crafting reduce the likelihood of large‑scale deployment. It is not listed in the CISA KEV catalog, which further suggests that no widespread active exploitation has been observed yet.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Erlang/OTP 27.3.4.17, 28.5.0.6, or 29.0.6 or later, which contain a fixed inet driver.
  • If upgrade is not immediately feasible, restrict access to any TCP ports that use {packet,4} so that only trusted hosts can connect.
  • Consider switching the inet driver configuration away from {packet,4} to a safer mode such as {packet,0} or disabling the packet setting where appropriate.

Generated by OpenCVE AI on November 15, 2026 at 11:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6580-1 erlang security update
Ubuntu USN Ubuntu USN USN-8827-1 Erlang vulnerabilities
History
Type Values Removed Values Added
Description An attacker that connects to an open Erlang TCP port that uses the inet driver with {packet,4} mode can use a signed overflow in an incorrect packet length calculation to overflow the receive buffer into the VM allocator area and beyond up to about 2 GB. This would easily trash the allocated block's allocator metadata footer, and the next block, if any, and most likely cause the BEAM VM to crash. Utilizing this with precision enough to achieve Remote Code Execution would be extremely unfeasible. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to erts from 6.0 before 15.2.7.13, from 16.0 before 16.4.0.6, and from 17.0 before 17.0.6. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown. An attacker that connects to an open Erlang TCP port that uses the inet driver with {packet,4} mode can use a signed overflow in an incorrect packet length calculation to overflow the receive buffer into the VM allocator area and beyond up to about 2 GB. This would easily trash the allocated block's allocator metadata footer, and the next block, if any, and most likely cause the BEAM VM to crash. Utilizing this with precision enough to achieve Remote Code Execution would be extremely unfeasible. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to erts from 6.0 before 15.2.7.13, 16.4.0.6, and 17.0.6. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
References
Type Values Removed Values Added
First Time appeared Erlang erlang/otp
Erlang otp
Vendors & Products Erlang erlang/otp
Erlang otp
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An attacker that connects to an open Erlang TCP port that uses the inet driver with {packet,4} mode can use a signed overflow in an incorrect packet length calculation to overflow the receive buffer into the VM allocator area and beyond up to about 2 GB. This would easily trash the allocated block's allocator metadata footer, and the next block, if any, and most likely cause the BEAM VM to crash. Utilizing this with precision enough to achieve Remote Code Execution would be extremely unfeasible. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to erts from 6.0 before 15.2.7.13, from 16.0 before 16.4.0.6, and from 17.0 before 17.0.6. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
Title A Signed Length Overflow in Erlang/OTP's inet TCP Driver Overflows the Receive Buffer Into BEAM VM Memory From an Unauthenticated Peer
First Time appeared Erlang
Erlang erlang\/otp
Weaknesses CWE-122
CWE-190
CPEs cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Vendors & Products Erlang
Erlang erlang\/otp
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 20, 2026, 6:04 AM
Reserved
Aug 20, 2026, 10:15 AM
Status
Deferred
Published
Sep 1, 2026, 3:17 PM
Modified
Nov 20, 2026, 6:17 AM