CVE-2026-49759: CWE-121 Stack-based Buffer Overflow in Erlang OTP
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 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.
AI Analysis
Technical Summary
The vulnerability exists in the sctp_parse_error_chunk function within the inet_drv driver of Erlang OTP's erts component. This function parses SCTP ERROR chunks and writes cause codes into a fixed-size, stack-allocated array without proper bounds checking. An attacker who has established an SCTP association to a listening port can send a crafted SCTP ERROR chunk with enough cause codes to overflow this stack buffer, causing the BEAM VM to crash. The overflow only allows writing 16-bit values interleaved with a fixed tag, preventing controlled return address manipulation and limiting the impact to denial of service. Additionally, crafted chunks may leak small amounts of Erlang VM memory, but this data is already accessible to the user running the VM, limiting the disclosure impact. The affected versions include OTP from 17.0 before 29.0.2, 28.5.0.2, and 27.3.4.13, corresponding to erts versions from 6.0 before 17.0.2, 16.4.0.2, and 15.2.7.9 respectively. The CVSS 4.0 score is 8.8 (high severity), reflecting network attack vector, no privileges required, no user interaction, and high impact on availability.
Potential Impact
Successful exploitation results in a denial of service by crashing the Erlang BEAM VM. There is limited information disclosure of VM memory, but this does not increase the risk significantly as the data is already accessible to the VM user. There is no indication of remote code execution or privilege escalation from this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory linked does not specify an official fix or workaround at this time. Users should monitor the vendor advisory for updates and apply any official patches once available. Until then, restricting SCTP access to trusted sources may reduce exposure.
CVE-2026-49759: CWE-121 Stack-based Buffer Overflow in Erlang OTP
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 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.
CVSS v4.0
Score 8.8high
Affected software
pkg:github/erlang/otpcpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the sctp_parse_error_chunk function within the inet_drv driver of Erlang OTP's erts component. This function parses SCTP ERROR chunks and writes cause codes into a fixed-size, stack-allocated array without proper bounds checking. An attacker who has established an SCTP association to a listening port can send a crafted SCTP ERROR chunk with enough cause codes to overflow this stack buffer, causing the BEAM VM to crash. The overflow only allows writing 16-bit values interleaved with a fixed tag, preventing controlled return address manipulation and limiting the impact to denial of service. Additionally, crafted chunks may leak small amounts of Erlang VM memory, but this data is already accessible to the user running the VM, limiting the disclosure impact. The affected versions include OTP from 17.0 before 29.0.2, 28.5.0.2, and 27.3.4.13, corresponding to erts versions from 6.0 before 17.0.2, 16.4.0.2, and 15.2.7.9 respectively. The CVSS 4.0 score is 8.8 (high severity), reflecting network attack vector, no privileges required, no user interaction, and high impact on availability.
Potential Impact
Successful exploitation results in a denial of service by crashing the Erlang BEAM VM. There is limited information disclosure of VM memory, but this does not increase the risk significantly as the data is already accessible to the VM user. There is no indication of remote code execution or privilege escalation from this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory linked does not specify an official fix or workaround at this time. Users should monitor the vendor advisory for updates and apply any official patches once available. Until then, restricting SCTP access to trusted sources may reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-06-01T13:45:22.449Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-49759","vendor":"Red Hat"}]
Threat ID: 6a298ad7c9170919df367450
Added to database: 06/10/2026, 16:03:35 UTC
Last enriched: 07/24/2026, 21:36:17 UTC
Last updated: 07/31/2026, 19:24:47 UTC
Views: 180
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.