The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-47784

CVE-2026-47784: memcached Timing Side Channel Vulnerability

CVE-2026-47784 is a timing side channel vulnerability in memcached that exposes password data during SASL authentication. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 21, 2026

CVE-2026-47784 Overview

CVE-2026-47784 is a timing side-channel vulnerability in memcached versions before 1.6.42. The flaw resides in the sasl_server_userdb_checkpass function, which uses the standard memcmp routine to compare passwords stored in the Simple Authentication and Security Layer (SASL) password database. Because memcmp returns as soon as it detects a byte mismatch, the comparison time leaks information about how many leading bytes match the stored credential. An attacker on the network can measure these timing differences and progressively recover password material. The issue is tracked under CWE-208: Observable Timing Discrepancy.

Critical Impact

Network-positioned attackers can recover SASL authentication credentials by measuring response timing, leading to full compromise of memcached confidentiality, integrity, and availability.

Affected Products

  • memcached versions prior to 1.6.42
  • Deployments using SASL password database authentication (sasl_defs.c)
  • Applications relying on memcached SASL for client authentication

Discovery Timeline

  • 2026-05-20 - CVE-2026-47784 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-47784

Vulnerability Analysis

The vulnerability is a classic timing side channel in credential verification. When a client authenticates via SASL, memcached reads each line of the password file and compares the supplied username and password against stored values. The original implementation called memcmp(pass, buffer + unmlen, passlen), which exits at the first differing byte. The elapsed time between request and response correlates with the number of matching leading bytes, allowing an attacker to infer one byte at a time.

A remote attacker who can issue authentication attempts and accurately measure server response time can mount a byte-by-byte password recovery attack. Once a valid SASL credential is recovered, the attacker gains authenticated access to cached data, which often includes session tokens, application state, and other sensitive material.

Root Cause

The root cause is the use of a non-constant-time comparison primitive (memcmp) inside sasl_server_userdb_checkpass in sasl_defs.c. Comparing secret material with memcmp violates the principle that cryptographic and credential comparisons must complete in time independent of input contents.

Attack Vector

Exploitation requires network access to the memcached SASL authentication interface and the ability to perform repeated authentication attempts with statistical timing analysis. High attack complexity reflects the need for stable network conditions and many measurements to overcome jitter, but no privileges or user interaction are required.

c
     char buffer[MAX_ENTRY_LEN];
     bool ok = false;
 
-    while ((fgets(buffer, sizeof(buffer), pwfile)) != NULL) {
-        if (memcmp(user, buffer, unmlen) == 0 && buffer[unmlen] == ':') {
-            /* This is the correct user */
-            ++unmlen;
-            if (memcmp(pass, buffer + unmlen, passlen) == 0 &&
-                (buffer[unmlen + passlen] == ':' || /* Additional tokens */
-                 buffer[unmlen + passlen] == '\n' || /* end of line */
-                 buffer[unmlen + passlen] == '\r'|| /* dos format? */
-                 buffer[unmlen + passlen] == '\0')) { /* line truncated */
+    while (1) {
+        memset(buffer, 0, sizeof(buffer));
+        if (fgets(buffer, sizeof(buffer), pwfile) == NULL)
+            break;
+        if (safe_memcmp(user, buffer, unmlen) && buffer[unmlen] == ':') {
+            if (safe_memcmp(pass, buffer + unmlen + 1, passlen) &&
+                (buffer[unmlen + 1 + passlen] == ':' ||
+                 buffer[unmlen + 1 + passlen] == '\n' ||
+                 buffer[unmlen + 1 + passlen] == '\r' ||
+                 buffer[unmlen + 1 + passlen] == '\0')) {
                 ok = true;
             }
-
-            break;
         }
     }
     (void)fclose(pwfile);

The patch replaces memcmp with a constant-time safe_memcmp helper and removes the early break, ensuring the comparison loop runs in time independent of input contents. Source: memcached commit d13f282b.

Detection Methods for CVE-2026-47784

Indicators of Compromise

  • High volumes of SASL authentication attempts from a single source against a memcached instance
  • Repeated failed authentication entries in memcached logs with incremental variation in submitted credentials
  • Anomalous external connections to memcached TCP port 11211 from non-application hosts

Detection Strategies

  • Correlate authentication failure spikes against the same memcached node over short time windows to identify timing-attack reconnaissance
  • Alert on memcached SASL traffic originating from networks that are not part of the approved application tier
  • Inventory memcached deployments and flag any binary reporting a version earlier than 1.6.42

Monitoring Recommendations

  • Forward memcached logs to a centralized analytics platform and track authentication failure rates per source IP
  • Monitor network flow data for sustained, high-frequency connections to port 11211 consistent with timing measurement loops
  • Track package inventory for memcached versions and trigger alerts when versions prior to 1.6.42 are detected

How to Mitigate CVE-2026-47784

Immediate Actions Required

  • Upgrade memcached to version 1.6.42 or later on all affected hosts
  • Restrict network access to memcached so that only trusted application servers can reach the SASL authentication interface
  • Rotate any SASL credentials that may have been used on vulnerable instances exposed to untrusted networks

Patch Information

The fix is included in memcached 1.6.42. The remediation introduces a constant-time comparison routine (safe_memcmp) in sasl_defs.c and removes the short-circuit break that exposed timing differences. Review the memcached 1.6.42 release notes, the version comparison 1.6.41...1.6.42, and the patch commit d13f282b.

Workarounds

  • Bind memcached to loopback or to a private management network when SASL is not required by remote clients
  • Place memcached behind a host-based firewall that limits source addresses permitted to perform authentication
  • Disable SASL authentication and rely on network segmentation until the upgrade to 1.6.42 is deployed
bash
# Verify installed memcached version and upgrade
memcached -V
# Debian/Ubuntu
sudo apt-get update && sudo apt-get install --only-upgrade memcached
# RHEL/Rocky/Alma
sudo dnf upgrade memcached
# Restart and confirm the patched version
sudo systemctl restart memcached
memcached -V   # expect 1.6.42 or later

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMemcached

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-208
  • Technical References
  • GitHub Commit Reference

  • GitHub Version Comparison

  • GitHub Release Notes
  • Related CVEs
  • CVE-2026-47783: Memcached Timing Side Channel Vulnerability
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