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: n/a
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. No EPSS score is available, 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 10, 2026 at 17:25 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 10, 2026 at 17:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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'}


Subscriptions

Erlang Erlang\/otp
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-06-10T16:18:43.800Z

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

Link: CVE-2026-49759

cve-icon Vulnrichment

Updated: 2026-06-10T16:18:35.355Z

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-49759

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T17:30:36Z

Weaknesses