CVE-2026-49759CWE-120CWE-121

CVE-2026-49759

High · published June 10, 2026

CVSS v3.1
8.2
EPSS
0%
Percentile
41.8
In the wild
Unconfirmed
What it is

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 27.3.4.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to erts from 6.0 before 15.2.7.9, 16.4.0.2, and 17.0.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00497 · 41.8th percentile
Weaknesses
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'); CWE-121 · Stack-based Buffer Overflow
Published
2026-06-10T20:17Z
Affected products (6)
ProductVersionsFixed in
erlang/erlang\/otp≥ 17.0, < 27.3.4.1327.3.4.13
erlang/erlang\/otp≥ 28.0, < 28.5.0.228.5.0.2
erlang/erlang\/otp≥ 29.0, < 29.0.229.0.2
erlang/erts≥ 6.0, < 15.2.7.915.2.7.9
erlang/erts≥ 16.0, < 16.4.0.216.4.0.2
erlang/erts≥ 17.0, < 17.0.217.0.2
References (8)
EPSS history
Timeline
  • 10 JUN 14:35Z
    Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash
    cvelistv5