Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash (Erlang OTP)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.50 % · percentile 43 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- EEF
- NVD status
- Modified
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 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.
Weaknesses (CWE)
References
- https://github.com/erlang/otp/security/advisories/GHSA-6f4f-chj5-5g97
- https://cna.erlef.org/cves/CVE-2026-49759.html
- https://osv.dev/vulnerability/EEF-CVE-2026-49759
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/3983d495284331c121f600a80bac9fcf4e16381e
- https://access.redhat.com/security/cve/CVE-2026-49759
- https://bugzilla.redhat.com/show_bug.cgi?id=2487607
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49759.json
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.8 | 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 | EEF |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | redhat-SADP |
| CVSS 4.0 | HIGH 8.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
European references
- ENISA EUVD · EUVD-2026-36053
- GCVE · GCVE-0-2026-49759
CERT-FR advisories
- CERTFR-2026-AVI-0783 — Multiples vulnérabilités dans Microsoft Azure · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 17.0 < 27.3.4.13cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 28.0 < 28.5.0.2cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 29.0 < 29.0.2cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*≥ 6.0 < 15.2.7.9cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*≥ 16.0 < 16.4.0.2cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*≥ 17.0 < 17.0.2
Affected products
| Product | Versions |
|---|---|
| Erlang · OTP | affected 17.0 < * |
| Erlang · OTP | affected 6.0 < * |
| Erlang · OTP | affected 84adefa331c4159d432d22840663c38f155cd4c1 < 3983d495284331c121f600a80bac9fcf4e16381e ; unaffected 3983d495284331c121f600a80bac9fcf4e16381e < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |