---
id: CVE-2026-49759
title: >-
  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/c…
summary: >-
  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/c…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H'
cwe:
  - CWE-121
  - CWE-120
vendor: erlang
product: erlang/otp
affected:
  - 'erlang/otp >= 17.0, < 27.3.4.13'
  - 'erlang/otp >= 28.0, < 28.5.0.2'
  - 'erlang/otp >= 29.0, < 29.0.2'
  - 'erts >= 6.0, < 15.2.7.9'
  - 'erts >= 16.0, < 16.4.0.2'
  - 'erts >= 17.0, < 17.0.2'
patched:
  - erlang/otp 29.0.2
  - erts 17.0.2
published: '2026-06-10'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:17:14.810'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49759'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2026-49759.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/erlang/otp/commit/3983d495284331c121f600a80bac9fcf4e16381e
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/erlang/otp/security/advisories/GHSA-6f4f-chj5-5g97'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2026-49759'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://www.erlang.org/doc/system/versions.html#order-of-versions'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://access.redhat.com/security/cve/CVE-2026-49759'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2487607'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49759.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-49759'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49759'
  - url: 'https://access.redhat.com/errata/RHSA-2026:63160'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-06-10T16:18:27.945916Z'
scores:
  nvd: 8.2
  cna: 8.8
  vendor: 8.2
epss: 0.00859
epssPercentile: 0.56656
ingestedAt: '2026-09-17T12:16:56.796Z'
---

## Overview

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.

## Affected

- `erlang/otp >= 17.0, < 27.3.4.13`
- `erlang/otp >= 28.0, < 28.5.0.2`
- `erlang/otp >= 29.0, < 29.0.2`
- `erts >= 6.0, < 15.2.7.9`
- `erts >= 16.0, < 16.4.0.2`
- `erts >= 17.0, < 17.0.2`

## Remediation

Upgrade past the affected range:

- `erlang/otp 29.0.2`
- `erts 17.0.2`

## Vendor advisories

- **RHSA-2026:63160** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:63160)
