CVE-2026-49759

HIGH

Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash

Title source: cna
STIX 2.1

Description

Stack-based Buffer Overflow vulnerability in Erlang OTP erts (inet_drv) allows an unauthenticated remote attacker to crash the BEAM VM by sending a crafted SCTP ERROR chunk. The sctp_parse_error_chunk function in erts/emulator/drivers/common/inet_drv.c parses SCTP ERROR chunks and writes cause codes into a fixed-size stack-allocated ErlDrvTermData spec[] array without checking bounds. A remote attacker who has established an SCTP association to a listening port can send a single crafted SCTP ERROR chunk containing enough cause codes to overflow the stack buffer, crashing the VM. The attacker can only write 16-bit values interleaved with a fixed tag, so the overflow does not provide a controlled return address, limiting exploitation to Denial of Service. A crafted SCTP ERROR chunk may also leak bits and pieces of Erlang VM memory into the received error packet observed by the Erlang process. Such data is already readable by the user running the Erlang VM, so the disclosure scope is limited. This issue affects OTP from OTP 17.0 before OTP 29.0.2, OTP 28.5.0.2 and OTP 27.3.4.13, corresponding to erts from 6.0 before 17.0.2, 16.4.0.2 and 15.2.7.9.

Scores

CVSS v3 8.2
EPSS 0.0050
EPSS Percentile 39.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-120 CWE-121
Status published
Products (5)
erlang/erlang\/otp 17.0 - 27.3.4.13
erlang/erts 6.0 - 15.2.7.9
Erlang/OTP 17.0
Erlang/OTP 6.0
Erlang/OTP 84adefa331c4159d432d22840663c38f155cd4c1 - 3983d495284331c121f600a80bac9fcf4e16381e
Published Jun 10, 2026
Tracked Since Jun 10, 2026