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 27.3.4.13, 28.5.0.2 and 29.0.2, corresponding to erts from 6.0 before 15.2.7.9, 16.4.0.2 and 17.0.2.
Published: 2026-06-10
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stack-based buffer overflow in the SCTP error chunk parser of Erlang OTP erts (inet_drv) can cause the BEAM virtual machine to crash when an attacker sends a crafted SCTP ERROR message. The overflow writes 16‑bit cause codes into a fixed‑size array without bounds checking, limiting the attack to a denial of service rather than arbitrary code execution. Leakage of small chunks of memory is possible but is viewable only by the user owning the Erlang VM, so confidentiality impact is minimal.

Affected Systems

The vulnerability affects Erlang OTP versions 17.0 through 27.3.4.12, 28.5.0.1, and 29.0.1, corresponding to erts releases 6.0 through 15.2.7.8, 16.4.0.1 and 17.0.1. It is present in the Erlang:OTP product family and is referenced by the Erlang Community Network Authority.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity denial of service flaw. The EPSS score of 0.00466 (approximately 0.5%) indicates a very low probability of exploitation, but the absence of a requirement for privileged access or authentication suggests the attack vector is network based, via an SCTP association to a listening port. The vulnerability is not listed in CISA’s KEV catalog and currently has no known exploits in the wild.

Generated by OpenCVE AI on June 18, 2026 at 22:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Erlang OTP to at least 27.3.4.13, 28.5.0.2 or 29.0.2 to apply the buffer‑overflow fix
  • If an upgrade is not immediately possible, disable or block inbound SCTP traffic on the affected systems to prevent crafted ERROR chunks from reaching the BEAM VM
  • Continue to monitor system logs for abnormal SCTP ERROR messages and verify that the VM remains stable after any network configuration changes

Generated by OpenCVE AI on June 18, 2026 at 22:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 18 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

threat_severity

Important


Mon, 15 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Erlang erts
CPEs cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*
Vendors & Products Erlang erts
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H'}


Wed, 10 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Erlang erlang/otp
Erlang otp
Vendors & Products Erlang erlang/otp
Erlang otp

Wed, 10 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 10 Jun 2026 16:00:00 +0000

Type Values Removed Values Added
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 27.3.4.13, 28.5.0.2 and 29.0.2, corresponding to erts from 6.0 before 15.2.7.9, 16.4.0.2 and 17.0.2.
Title Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash
First Time appeared Erlang
Erlang erlang\/otp
Weaknesses CWE-121
CPEs cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Vendors & Products Erlang
Erlang erlang\/otp
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-06-30T12:09:55.439Z

Reserved: 2026-06-01T13:45:22.449Z

Link: CVE-2026-49759

cve-icon Vulnrichment

Updated: 2026-06-30T03:16:51.461Z

cve-icon NVD

Status : Analyzed

Published: 2026-06-10T16:17:12.797

Modified: 2026-06-15T18:24:12.813

Link: CVE-2026-49759

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-10T14:35:38Z

Links: CVE-2026-49759 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T22:30:16Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-121

    Stack-based Buffer Overflow