Vulnerability
CVE-2026-75538
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.
11 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
AZL-98499
CVE-2026-75538 affecting package erlang for versions less than 26.2.5.21-6
-
CNA-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
-
DEBIAN-CVE-2026-75538
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…
-
DSA-6580-1
erlang - security update
-
OESA-2026-4131
erlang security update
-
OESA-2026-4132
erlang security update
-
OESA-2026-4133
erlang security update
-
RHSA-2026:63160
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
SUSEVEX-CVE-2026-75538
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…
-
UBUNTU-CVE-2026-75538
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…
-
USN-8827-1
erlang vulnerabilities
References
- https://cna.erlef.org/cves/CVE-2026-75538.html
- https://github.com/erlang/otp/commit/08e8efdba8500d2d6f54c6b1de1492b228017c9b
- https://github.com/erlang/otp/security/advisories/GHSA-8m6r-2pj2-25pm
- https://osv.dev/vulnerability/EEF-CVE-2026-75538
- https://www.erlang.org/doc/system/versions.html#order-of-versions