Skip to content
Threat Feed
medium advisory

Erlang OTP: Stack-based buffer overflow in inet_drv (CVE-2026-49759)

A stack-based buffer overflow in the Erlang OTP erts component (inet_drv) allows an unauthenticated remote attacker to crash the BEAM virtual machine by sending a crafted SCTP ERROR chunk.

CVE search metadata

CVE search record: CVE-2026-49759. Severity: high. CVSS: 8.2. EPSS: 0.50%. KEV: no. Product: Erlang OTP, erts. Brief: Erlang OTP: Stack-based buffer overflow in inet_drv (CVE-2026-49759). Brief link: https://feed.craftedsignal.io/briefs/2026-11-erlang-otp-sctp-overflow-cve-2026-49759/

Triage facts

Revision 1
Applicability
Erlang OTP, erts
Evidence
Unknown
Severity
Medium
Sources
2 public sources
Freshness
Revision 1Nov 20, 08:18 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

Overview

A stack-based buffer overflow vulnerability exists in the sctp_parse_error_chunk function within the erts component (inet_drv) of Erlang OTP. The vulnerability occurs due to missing bounds checking when writing cause codes from a crafted SCTP ERROR chunk into a fixed-size stack-allocated ErlDrvTermData spec[] array. An unauthenticated remote attacker who has established an SCTP association to a listening port can send a single crafted SCTP ERROR chunk to trigger this overflow, causing the BEAM virtual machine to crash.

Attack Chain

An attacker must establish an SCTP association to a listening port and send a single crafted SCTP ERROR chunk containing enough cause codes to overflow the stack buffer.

Impact

The primary impact is a Denial of Service via a crash of the BEAM virtual machine. The overflow does not provide a controlled return address, limiting exploitation to Denial of Service. A crafted SCTP ERROR chunk may also leak bits of Erlang VM memory, but the disclosure scope is limited as this data is already readable by the user running the Erlang VM.

Recommendation

Users should update to unaffected versions where available. Affected OTP versions include: OTP 17.0 before 27.3.4.13, 28.5.0.2, and 29.0.2. Affected erts versions include: 6.0 before 15.2.7.9, 16.4.0.2, and 17.0.2. The status of OTP versions before 17.0 and erts versions before 6.0 is unknown.

Threat Hunt

Identify Erlang/BEAM VM crashes associated with the establishment of SCTP associations, specifically searching for log entries or dump files generated immediately following an SCTP ERROR chunk parsing event.

T1499 high medium confidence hunt now

Data: Erlang VM crash logs (erl_crash.dump), System logs/Event logs related to process termination, Network traffic logs identifying SCTP association establishment