Skip to main content
← All vulnerabilities
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
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 27.3.4.17, 28.5.0.6, 29.0.6, 15.2.7.13, 16.4.0.6, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • otp

    From 17.0 · fixed in 27.3.4.17; From 28.0 · fixed in 28.5.0.6; From 29.0 · fixed in 29.0.6

  • erts

    From 6.0 · fixed in 15.2.7.13; From 16.0 · fixed in 16.4.0.6; From 17.0 · fixed in 17.0.6

  • erlang/otp

    Version range not reported

References 4

GitHub · erlang/otp

cna.erlef.org

osv.dev