Skip to main content

Erlang OTP EUVDEUVD-2026-36052

| CVE-2026-49760 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-06-10 EEF
6.9
CVSS 4.0 · Vendor: EEF
Share

Severity by source

Vendor (EEF) PRIMARY
6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/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
SUSE
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/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
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Jun 10, 2026 - 16:32 vuln.today
Analysis Generated
Jun 10, 2026 - 16:32 vuln.today
CVSS changed
Jun 10, 2026 - 16:22 NVD
6.9 (MEDIUM)

DescriptionCVE.org

Stack-based Buffer Overflow vulnerability in Erlang OTP (erl_interface) allows Stack-based Buffer Overflow.

This vulnerability is associated with program file lib/erl_interface/src/misc/ei_printterm.c and program routine ei_s_print_term.

The C function ei_s_print_term uses an internal 2000-character stack buffer to format terms. When called with an encoded Erlang term containing a very large integer (encoded representation exceeding 2000 characters), the buffer overflows. The overflow bytes are restricted to the ASCII values of 0-9 and A-F, which limits exploitation to Denial of Service.

The companion function ei_print_term, which prints directly to a FILE instead of a memory buffer, does not contain this bug.

This issue affects OTP from OTP 17.0 before 27.3.4.13, 28.5.0.2 and 29.0.2, corresponding to erl_interface from 3.7.16 before 5.5.2.1, 5.7.0.1 and 5.8.1.

AnalysisAI

Stack-based buffer overflow in Erlang OTP's erl_interface C library (ei_s_print_term) crashes processes when decoding Erlang terms containing very large integers, causing Denial of Service. Affected OTP releases span from 17.0 through unfixed branches of 27.x, 28.x, and 29.x, making this a wide-ranging availability risk for C-language nodes that interface with the Erlang runtime. Because overflow bytes are constrained exclusively to ASCII hex digits (0-9, A-F), arbitrary code execution is not feasible - confirmed impact is process crash only. No public exploit has been identified and this CVE is not listed in the CISA KEV catalog.

Technical ContextAI

The vulnerability resides in lib/erl_interface/src/misc/ei_printterm.c within the ei_s_print_term function, which uses a statically-allocated 2000-character stack buffer and calls vsprintf (unbounded) to format Erlang terms into a string. CWE-121 (Stack-based Buffer Overflow) is the root cause: no bounds checking was applied to the internal format buffer before the fix. When an External Term Format (ETF)-encoded Erlang bignum integer has a decimal or hexadecimal string representation longer than 2000 characters, vsprintf writes beyond the stack buffer boundary. The overflow payload consists only of the digits 0-9 and letters A-F because the data being printed is a numeric representation, which constrains attacker control over overflowing bytes and prevents shellcode injection. The companion function ei_print_term, which writes to a FILE pointer rather than an in-memory buffer, is not affected. The fix (commit 0bef277b2d39dc8babb9ceb4f5d0a456f3007111) replaces vsprintf with vsnprintf in xprintf, refactors xputs to return string length, and adds test harness coverage comparing both print functions. The erl_interface library (CPE: cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:*) provides C-language integration for external programs communicating with the Erlang runtime via ETF.

RemediationAI

Upgrade to a patched Erlang OTP release: 27.3.4.13, 28.5.0.2, or 29.0.2 (corresponding to erl_interface 5.5.2.1, 5.7.0.1, or 5.8.1 respectively), as confirmed by the vendor advisory at https://github.com/erlang/otp/security/advisories/GHSA-xcxj-5pg2-v72j. The upstream code fix is available in commit 0bef277b2d39dc8babb9ceb4f5d0a456f3007111, which replaces the unbounded vsprintf call with vsnprintf and refactors the xputs helper. If immediate upgrade is not feasible, a compensating control is to validate inputs at the application layer so that ETF-encoded Erlang terms containing integers whose string representations could exceed 1999 characters are rejected before being passed to ei_s_print_term; this requires application-level changes and adds complexity. Organizations running erl_interface in isolated internal environments with strict access controls on Erlang node communication have reduced immediate exposure given the local attack vector.

More in Otp

View all
CVE-2022-24584 MEDIUM POC
6.5 May 11

Incorrect access control in Yubico OTP functionality of the YubiKey hardware tokens along with the Yubico OTP validation

CVE-2026-55953 CRITICAL
9.1 Jul 27

An on-path attacker can force an Erlang/OTP TLS 1.2 or DTLS client to accept an anonymous cipher suite not offered by th

CVE-2026-49759 HIGH
8.8 Jun 10

Denial of service in Erlang/OTP erts (inet_drv SCTP handler) lets unauthenticated remote attackers crash the BEAM VM by

CVE-2026-55950 HIGH
8.7 Jul 02

Remote denial of service in Erlang/OTP's ssl application (dtls_packet_demux module) lets an unauthenticated attacker cra

CVE-2026-58227 HIGH
8.7 Jul 27

Uncontrolled recursion in the Erlang/OTP ssl application when processing a crafted TLS/DTLS certificate chain allows rem

CVE-2026-59250 HIGH
8.3 Jul 27

We need to output a JSON object based on the CVE-2026-59250 data. We must synthesize from multiple sources: description,

CVE-2026-28808 HIGH
8.3 Apr 07

Authorization bypass in Erlang OTP's inets HTTP server allows unanauthenticated remote attackers to execute CGI scripts

CVE-2026-55952 HIGH
8.2 Jul 02

Denial of service in the Erlang/OTP ssl application (OTP 22.2 through 29.0.3, and the 28.5.x/27.3.x maintenance branches

CVE-2026-32144 HIGH
7.6 Apr 07

Erlang OTP public_key module (versions 1.16 through 1.20.3 and 1.17.1.2) fails to cryptographically verify OCSP responde

CVE-2026-48860 HIGH
7.5 Jun 10

Authentication bypass in Erlang/OTP's TLS distribution module (inet_tls_dist) lets any attacker holding a TLS certificat

CVE-2026-48856 HIGH
7.1 Jun 10

Credential leakage in Erlang/OTP's inets httpc client (versions 17.0 through 29.0.2, 28.5.0.2, and 27.3.4.13) allows att

CVE-2026-23941 HIGH
7.0 Mar 13

A critical HTTP Request Smuggling vulnerability exists in Erlang OTP's inets httpd module that allows attackers to desyn

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

Share

EUVD-2026-36052 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy