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
·
Updated

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.

Affected Software

3 affected components
Erlang/OTP OTP 17.0>undefined
Erlang/OTP OTP>=17.0<27.3.4.17, >=28.0<28.5.0.6, >=29.0<29.0.6
Erlang/OTP erts>=6.0<15.2.7.13, >=16.0<16.4.0.6, >=17.0<17.0.6

Event History

Sep 1, 2026
CVE Published
via MITRE·02:48 PM
Data Sourced
via MITRE·02:48 PM
DescriptionWeakness

Frequently Asked Questions

1

Which Erlang services are exposed to this issue?

Services with an open TCP port using the inet driver in {packet,4} mode are exposed. An unauthenticated remote peer only needs to connect to such a port.

2

What is the likely impact of exploitation?

The overflow can corrupt allocator metadata and adjacent memory, most likely crashing the BEAM VM. The available information describes remote code execution as extremely unfeasible.

3

Which releases contain fixes?

Update affected OTP 17.x releases to 27.3.4.17 or later, OTP 28.x releases to 28.5.0.6 or later, or OTP 29.x releases to 29.0.6 or later. OTP versions before 17.0 are of unknown status.

4

What can be done before an update is available?

Avoid exposing TCP endpoints configured with the inet driver and {packet,4} mode to untrusted peers. Restricting access to those ports limits the unauthenticated network attack path described for this issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203