CVE-2026-49759

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

State
Published
Severity
8.8 High
Published
Jun 10, 2026
Updated
Sep 24, 2026
Reserved
Jun 1, 2026

Read the record on cve.org

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 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.

Scores

CVSSScoreVectorSource
4.08.8 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NEEF
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Hredhat-SADP

Weaknesses

  • CWE-121 Stack-based Buffer Overflow
  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Affected Products

ProductVersions
OTPErlang
  • 17.0 and laterAffectedfrom 27.3.4.13Not affectedfrom 28.5.0.2Not affectedfrom 29.0.2Not affected
OTPErlang
  • 6.0 and laterAffectedfrom 15.2.7.9Not affectedfrom 16.4.0.2Not affectedfrom 17.0.2Not affected
OTPErlang
  • 84adefa331c4159d432d22840663c38f155cd4c1 to before 3983d495284331c121f600a80bac9fcf4e16381eAffected
  • 3983d495284331c121f600a80bac9fcf4e16381e and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.