{"affected":[{"ranges":[{"events":[{"introduced":"84adefa331c4159d432d22840663c38f155cd4c1"},{"fixed":"3983d495284331c121f600a80bac9fcf4e16381e"}],"repo":"https://github.com/erlang/otp","type":"GIT"}]}],"aliases":["GHSA-6f4f-chj5-5g97","CVE-2026-49759"],"credits":[{"name":"Zhang Delong","type":"FINDER"},{"name":"Raimo Niskanen","type":"REMEDIATION_DEVELOPER"}],"database_specific":{"capec_ids":["CAPEC-100"],"cpe_ids":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-121"]},"details":"## Summary\n\nStack-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.\n\nThe 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.\n\nA 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.\n\nThis 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.\n\n## Configuration\n\nSCTP support must be compiled into OTP. A listening SCTP socket must be opened via gen\\_sctp with the default inet backend and must be reachable from the attacker's network. Windows builds are unaffected as SCTP is not supported on Windows.","id":"EEF-CVE-2026-49759","modified":"2026-06-10T14:38:30.417Z","published":"2026-06-10T14:35:38.838Z","references":[{"type":"ADVISORY","url":"https://github.com/erlang/otp/security/advisories/GHSA-6f4f-chj5-5g97"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-49759.html"},{"type":"WEB","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/3983d495284331c121f600a80bac9fcf4e16381e"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"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","type":"CVSS_V4"}],"summary":"Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash","upstream":[]}