Skip to main content

Erlang OTP CVE-2026-49760

| EUVDEUVD-2026-36052 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-06-10 EEF
6.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local or peer-node access
  2. Delivery
    Craft ETF-encoded large bignum integer
  3. Exploit
    Supply term to application calling ei_s_print_term
  4. Execution
    Overflow 2000-byte stack buffer with hex-digit bytes
  5. Persist
    Corrupt stack frame
  6. Impact
    Crash target process (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application uses ei_s_print_term (not ei_print_term, which is unaffected) from the erl_interface library to format Erlang terms sourced from an untrusted or attacker-controlled input. The CVSS 4.0 attack vector is LOCAL (AV:L), meaning the attacker must either run code on the same host or act as a peer Erlang/C node whose ETF messages the application accepts. Exploitation is structurally limited to Denial of Service because the overflow bytes are restricted to ASCII hex digits (0-9, A-F), preventing injection of arbitrary shellcode payloads. Applications that do not call ei_s_print_term - or that only pass internally-generated, size-bounded terms to it - are not at risk.

Impact

The CVSS 4.0 score of 6.9 with attack vector LOCAL (AV:L/AC:L/AT:N/PR:N/UI:N) indicates that a triggering process must locally supply a malformed ETF-encoded term to the vulnerable function - either directly within the process or via a peer node delivering an ETF message. Availability impact is HIGH (VA:H) while confidentiality and integrity impacts are both NONE (VC:N/VI:N), consistent with a pure DoS outcome. EPSS data was not provided in the input, so probabilistic exploitation likelihood cannot be assessed quantitatively. The CVE is not in the CISA KEV catalog and no proof-of-concept exploit has been identified at time of analysis. The constrained overflow content (only hex digits 0-9 and A-F) materially lowers real-world severity beyond the raw CVSS score: stack corruption cannot carry arbitrary attacker-controlled bytes, making reliable code execution infeasible on modern systems with stack canaries or ASLR. Real-world priority is moderate - the wide affected version range (OTP 17.0 onward) and the ubiquity of erl_interface in C-to-Erlang integration scenarios warrant patching, but the local attack vector and DoS-only impact reduce urgency compared to remotely exploitable, higher-impact vulnerabilities.

Exploit ScenarioDerived

A local attacker or a malicious peer C/Erlang node accepted by the target application crafts an ETF-encoded message containing an arbitrarily large bignum integer - for example, a value whose decimal string representation is 3000 characters long. When the receiving C application calls ei_s_print_term to format this term (e.g., for logging or display), the internal 2000-byte stack buffer overflows with hex-digit bytes, corrupting the stack frame and crashing the process. No public proof-of-concept exploit has been identified, but the trigger condition is straightforward to reproduce with knowledge of ETF encoding for large integers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

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.

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.

Affected VersionsENISA

otp 17.0 <*
otp 84adefa331c4159d432d22840663c38f155cd4c1 <0bef277b2d39dc8babb9ceb4f5d0a456f3007111
otp 3.7.16 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-89422 CRITICAL
9.3 Sep 22

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

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

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