Descrizione
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.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.2.
Versioni da aggiornare
- Erlang Erlang/Otp: vulnerabili le versioni dalla
17.0precedenti alla27.3.4.13→ aggiornare alla27.3.4.13o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.5.0.2→ aggiornare alla28.5.0.2o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
29.0precedenti alla29.0.2→ aggiornare alla29.0.2o successiva. - Erlang Erts: vulnerabili le versioni dalla
6.0precedenti alla15.2.7.9→ aggiornare alla15.2.7.9o successiva. - Erlang Erts: vulnerabili le versioni dalla
16.0precedenti alla16.4.0.2→ aggiornare alla16.4.0.2o successiva. - Erlang Erts: vulnerabili le versioni dalla
17.0precedenti alla17.0.2→ aggiornare alla17.0.2o successiva.
Patch e advisory
- Patch: github.com/erlang/otp/commit/3983d495284331c121…
- Advisory del vendor: github.com/erlang/otp/security/advisories/GHSA-…
- Advisory di terze parti: cna.erlef.org/cves/CVE-2026-49759.html
- Advisory di terze parti: osv.dev/vulnerability/EEF-CVE-2026-49759
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Erlang | Erlang/Otp | ≥ 17.0 < 27.3.4.13 | 27.3.4.13 |
| Erlang | Erlang/Otp | ≥ 28.0 < 28.5.0.2 | 28.5.0.2 |
| Erlang | Erlang/Otp | ≥ 29.0 < 29.0.2 | 29.0.2 |
| Erlang | Erts | ≥ 6.0 < 15.2.7.9 | 15.2.7.9 |
| Erlang | Erts | ≥ 16.0 < 16.4.0.2 | 16.4.0.2 |
| Erlang | Erts | ≥ 17.0 < 17.0.2 | 17.0.2 |
Riferimenti
- Patchhttps://github.com/erlang/otp/commit/3983d495284331c121f600a80bac9fcf4e16381e
- Advisory del vendorhttps://github.com/erlang/otp/security/advisories/GHSA-6f4f-chj5-5g97
- Advisory di terze partihttps://cna.erlef.org/cves/CVE-2026-49759.html
- Advisory di terze partihttps://osv.dev/vulnerability/EEF-CVE-2026-49759
- Riferimentohttps://www.erlang.org/doc/system/versions.html#order-of-versions
- Riferimentohttps://access.redhat.com/security/cve/CVE-2026-49759
- Riferimentohttps://bugzilla.redhat.com/show_bug.cgi?id=2487607
- Riferimentohttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49759.json