Buffer overflow in Erlang Erlang\/otp
CVE-2026-49759
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 43.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Erlang Erlang\/otp
- Erlang Erts
- Erlang Otp — versions 6.0, 17.0, 84adefa331c4159d432d22840663c38f155cd4c1
Weakness classification (CWE)
References
- EEF CNA record for CVE-2026-49759 (related, Third Party Advisory)
- Fix commit 3983d49 in erlang/otp (Patch, patch)
- github.com/erlang/otp/security/advisories/GHSA-6f4f-chj5-5g97 (related, vendor-advisory, Vendor Advisory)
- OSV record EEF-CVE-2026-49759 (related, Third Party Advisory)
- Erlang/OTP version ordering (Product, x_version-scheme)
- access.redhat.com/security/cve/CVE-2026-49759
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49759.json