CVE-2026-49759: Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash

Published Jun 10, 2026
·
Updated

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

Other sources

Stack-based Buffer Overflow vulnerability in Erlang OTP erts (inetdrv) allows an unauthenticated remote attacker to crash the BEAM VM by sending a crafted SCTP ERROR chunk.

The sctpparseerrorchunk function in erts/emulator/drivers/common/inetdrv.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.

Red Hat

Stack-based Buffer Overflow vulnerability in Erlang OTP erts (inetdrv) allows an unauthenticated remote attacker to crash the BEAM VM by sending a crafted SCTP ERROR chunk.

The sctpparseerrorchunk function in erts/emulator/drivers/common/inetdrv.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 29.0.2, OTP 28.5.0.2 and OTP 27.3.4.13, corresponding to erts from 6.0 before 17.0.2, 16.4.0.2 and 15.2.7.9.

MITRE

Affected Software

9 affected componentsFixes available
Erlang Erlang/OTP>=17.0<27.3.4.13, >=17.0<28.5.0.2, >=17.0<29.0.2
Erlang erts>=6.0<15.2.7.9, >=6.0<16.4.0.2, >=6.0<17.0.2
Erlang Erlang\/otp>=17.0<27.3.4.13
Erlang Erlang\/otp>=28.0<28.5.0.2
Erlang Erlang\/otp>=29.0<29.0.2
Erlang erts>=6.0<15.2.7.9
Erlang erts>=16.0<16.4.0.2
Erlang erts>=17.0<17.0.2
Microsoft azl3 erlang 26.2.5.20-1<26.2.5.21-2
26.2.5.21-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.2.5.21-2
  2. Upgrade

    Upgrade Erlang/OTP erts (inet_drv) to a version that resolves this vulnerability.

    Fixed in 27.3.4.13
  3. Upgrade

    Upgrade Erlang/OTP erts (inet_drv) to a version that resolves this vulnerability.

    Fixed in 28.5.0.2
  4. Upgrade

    Upgrade Erlang/OTP erts (inet_drv) to a version that resolves this vulnerability.

    Fixed in 29.0.2

Event History

Jun 10, 2026
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionWeakness
Data Sourced
via Red Hat·04:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 17, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-49759?

CVE-2026-49759 has a high severity rating of 8.8 on the CVSS scale.

2

How do I fix CVE-2026-49759?

To fix CVE-2026-49759, users should update to the latest version of Erlang/OTP that addresses this vulnerability.

3

What does CVE-2026-49759 exploit?

CVE-2026-49759 exploits a stack buffer overflow in SCTP error cause parsing in the inet_drv component of Erlang.

4

Who is affected by CVE-2026-49759?

Any user running affected versions of Erlang/OTP with the SCTP protocol enabled is susceptible to CVE-2026-49759.

5

What type of attack is CVE-2026-49759 associated with?

CVE-2026-49759 is associated with remote denial-of-service attacks that can crash the BEAM VM.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203