A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-49760

CVE-2026-49760: Erlang OTP erl_interface DoS Vulnerability

CVE-2026-49760 is a stack-based buffer overflow in Erlang OTP erl_interface that enables denial of service attacks. The flaw affects ei_s_print_term function when processing large integers. Learn about affected versions and fixes.

Published: June 11, 2026

CVE-2026-49760 Overview

CVE-2026-49760 is a stack-based buffer overflow [CWE-121] in the Erlang OTP erl_interface library. The flaw resides in the ei_s_print_term function defined in lib/erl_interface/src/misc/ei_printterm.c. The function uses a fixed 2000-character stack buffer to format encoded Erlang terms. When the function processes an encoded term containing a very large integer whose textual representation exceeds 2000 characters, it writes past the buffer boundary.

The overflow bytes are constrained to ASCII characters 0-9 and A-F, which prevents arbitrary code execution and limits impact to denial of service. The companion routine ei_print_term, which writes to a FILE stream rather than a memory buffer, is not affected.

Critical Impact

Local attackers who can supply crafted encoded Erlang terms to applications calling ei_s_print_term can corrupt the stack and crash the process, causing denial of service in Erlang/OTP-based systems.

Affected Products

  • Erlang/OTP from 17.0 before 27.3.4.13
  • Erlang/OTP 28.0 through versions before 28.5.0.2
  • Erlang/OTP 29.0 before 29.0.2 (corresponding erl_interface 3.7.16 through versions before 5.5.2.1, 5.7.0.1, and 5.8.1)

Discovery Timeline

  • 2026-06-10 - CVE-2026-49760 published to NVD
  • 2026-06-10 - Last updated in NVD database

Technical Details for CVE-2026-49760

Vulnerability Analysis

The ei_s_print_term function formats decoded Erlang term representations into a caller-provided memory buffer. Internally, the implementation relies on a helper that writes formatted output through xputs and xprintf into either a FILE* or an ei_x_buff*. The implementation allocates a 2000-byte stack buffer to assemble term components before appending them to the output buffer.

Erlang's external term format permits arbitrary-precision integers (SMALL_BIG_EXT and LARGE_BIG_EXT). When such a term contains a bignum whose hexadecimal representation exceeds 2000 characters, the stack buffer cannot hold the resulting string and adjacent stack memory is overwritten. Because the corrupted bytes are limited to hexadecimal digits, the attacker cannot inject arbitrary opcodes or pointers, restricting exploitation to crashing the host process.

Root Cause

The root cause is a missing bounds check on the size of formatted output relative to the fixed-size stack buffer in ei_s_print_term. The function trusts that any encoded term will fit within the 2000-character working area, which is not guaranteed for large bignums.

Attack Vector

Exploitation requires local access and the ability to deliver a crafted encoded Erlang term to a process linked against erl_interface that invokes ei_s_print_term. Any C application using erl_interface to render terms received from external sources, including distributed Erlang nodes or untrusted clients, is exposed. Successful exploitation results in process termination.

c
// Security patch in lib/erl_interface/src/misc/ei_printterm.c
// erl_interface: Fix stack overflow in ei_s_print_term
 	ei_x_append_buf(x, &c, 1);
 }
 
-static void xputs(const char* s, FILE* fp, ei_x_buff* x)
+static int xputs(const char* s, FILE* fp, ei_x_buff* x)
 {
+    const int slen = strlen(s);
+
     if (fp != NULL)
 	fputs(s, fp);
     else
-	ei_x_append_buf(x, s, strlen(s));
+        ei_x_append_buf(x, s, slen);
+    return slen;
 }
 
 static int xprintf(FILE* fp, ei_x_buff* x, const char* fmt, ...)

Source: GitHub Commit 0bef277b. The patch refactors xputs to return the number of bytes written and threads length tracking through the formatting helpers so that callers can enforce the 2000-byte boundary.

Detection Methods for CVE-2026-49760

Indicators of Compromise

  • Unexpected SIGSEGV or stack smashing termination in processes linking libei or liberl_interface.
  • Core dumps where the crashing frame is inside ei_s_print_term or xputs/xprintf helpers.
  • Receipt of encoded Erlang terms containing bignums whose decoded hex length exceeds 2000 bytes from untrusted peers.

Detection Strategies

  • Inventory binaries and packages that statically or dynamically link erl_interface and map them to installed Erlang/OTP versions.
  • Add coverage in fuzz harnesses for ei_s_print_term using oversized SMALL_BIG_EXT and LARGE_BIG_EXT inputs.
  • Monitor distributed Erlang traffic and external term decoders for messages exceeding expected term size thresholds.

Monitoring Recommendations

  • Enable stack canary protections (-fstack-protector-strong) and log abnormal terminations from Erlang-linked daemons.
  • Aggregate process crash telemetry from production Erlang nodes into a centralized analytics pipeline for trend analysis.
  • Alert on repeated short-lived crashes of services using erl_interface, which can indicate active exploitation attempts.

How to Mitigate CVE-2026-49760

Immediate Actions Required

  • Upgrade Erlang/OTP to 27.3.4.13, 28.5.0.2, or 29.0.2 (or later) as appropriate for the deployed branch.
  • Rebuild and redeploy any C/C++ applications that statically link erl_interface against the patched library.
  • Restrict who can send encoded Erlang terms to processes calling ei_s_print_term until patches are applied.

Patch Information

The fix is published in the GitHub Security Advisory GHSA-xcxj-5pg2-v72j and tracked in the OSV Vulnerability Report EEF-CVE-2026-49760. The code change in GitHub commit 0bef277b adds length tracking to xputs and enforces the 2000-byte limit. Refer to the CNA CVE-2026-49760 Evaluation and Erlang Versioning Documentation to map fixed versions to the correct OTP branch.

Workarounds

  • Replace calls to ei_s_print_term with ei_print_term, which writes to a FILE stream and is not affected.
  • Validate incoming encoded Erlang terms and reject any containing bignums whose decoded length exceeds a safe threshold before calling ei_s_print_term.
  • Run vulnerable services under process supervision with automatic restart and resource limits to contain DoS impact until patching completes.
bash
# Verify installed Erlang/OTP and erl_interface versions
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
find / -name 'libei*.so*' -o -name 'liberl_interface*.a' 2>/dev/null \
  | xargs -I{} sh -c 'echo {}; strings {} | grep -E "erl_interface|ei_" | head -5'

# Example: pin patched OTP version via package manager
apt-get install --only-upgrade erlang-base=1:27.3.4.13-1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechErlang

  • SeverityMEDIUM

  • CVSS Score6.9

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • CNA CVE-2026-49760 Evaluation

  • GitHub Commit Log

  • GitHub Security Advisory GHSA-xcxj-5pg2-v72j

  • OSV Vulnerability Report EEF-CVE-2026-49760

  • Erlang Versioning Documentation
  • Related CVEs
  • CVE-2026-49759: Erlang OTP SCTP DoS Vulnerability

  • CVE-2026-23943: Erlang OTP SSH Compression Bomb DoS Flaw

  • CVE-2025-26618: Erlang/OTP SSH SFTP DoS Vulnerability

  • CVE-2026-48856: Erlang OTP Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English