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

CVE-2026-3904: GNU C Library nscd DoS Vulnerability

CVE-2026-3904 is a denial of service vulnerability in GNU C Library's nscd client that causes crashes under high load on x86_64 systems. This article covers the technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-3904 Overview

CVE-2026-3904 is a race condition vulnerability in the GNU C Library (glibc) affecting the Name Service Cache Daemon (nscd) client. The vulnerability occurs when NSS-backed functions that support caching via nscd call the nscd client side code under high load conditions on x86_64 systems. The client may invoke memcmp on inputs that are concurrently modified by other processes or threads, resulting in application crashes.

The root cause stems from an optimized implementation of memcmp introduced in glibc version 2.36 for x86_64 architectures. This SSE2-optimized implementation crashes when invoked with undefined behavior caused by concurrent memory modifications, transforming what was previously a benign spurious cache miss scenario into a denial of service condition. The optimization was also backported to the 2.35 branch, extending the vulnerability's reach.

Critical Impact

Applications relying on nscd for name service caching on x86_64 Linux systems may experience unexpected crashes under high load conditions, potentially causing service disruptions in multi-threaded environments.

Affected Products

  • GNU C Library (glibc) version 2.36
  • GNU C Library (glibc) version 2.35 (with backported SSE2 memcmp optimization)
  • Linux distributions that cherry-picked the memcpy SSE2 optimization

Discovery Timeline

  • March 11, 2026 - CVE-2026-3904 published to NVD
  • March 12, 2026 - Last updated in NVD database

Technical Details for CVE-2026-3904

Vulnerability Analysis

This vulnerability is classified under CWE-366 (Race Condition within a Thread), representing a concurrency flaw in the nscd client implementation. The issue manifests when multiple threads or processes interact with the name service cache simultaneously.

The nscd client uses memcmp to compare cached data, but the memory regions being compared may be modified concurrently by other threads. While this concurrent access previously resulted only in spurious cache misses (a performance issue rather than a security concern), the introduction of the SSE2-optimized memcmp implementation changed the behavior fundamentally. The optimized code assumes memory stability during comparison operations, and when this assumption is violated, the function crashes rather than returning incorrect results.

The attack vector is local, requiring no privileges or user interaction. An attacker with local access could potentially trigger high-load conditions to exploit this race condition and crash applications depending on nscd, leading to denial of service.

Root Cause

The root cause is a race condition in the nscd client code combined with an SSE2-optimized memcmp implementation that does not handle concurrent memory modifications gracefully. The optimized memcmp introduced in glibc 2.36 relies on memory consistency guarantees that are violated when the nscd client's input buffers are modified by concurrent threads during comparison operations.

Attack Vector

The vulnerability requires local access to the system. An attacker can exploit this by:

  1. Running applications that utilize NSS-backed functions with nscd caching enabled
  2. Creating high-load conditions on x86_64 systems to increase the likelihood of concurrent memory access
  3. Triggering repeated nscd client calls that invoke the vulnerable memcmp implementation

The race condition window is widened under high system load, making exploitation more reliable in stressed environments. Since this affects the nscd client rather than the daemon itself, any application using name service lookups (DNS resolution, user authentication, etc.) could be impacted.

Detection Methods for CVE-2026-3904

Indicators of Compromise

  • Unexpected application crashes with segmentation faults in memcmp or related memory comparison functions
  • Crash dumps showing stack traces involving nscd client code paths
  • Increased frequency of application crashes under high load conditions on x86_64 systems
  • System logs showing repeated restarts of services that perform name service lookups

Detection Strategies

  • Monitor for segmentation fault signals (SIGSEGV) in applications using nscd
  • Implement crash dump analysis to identify memcmp-related failures in glibc
  • Track glibc version across systems to identify vulnerable installations (versions 2.35 and 2.36 with SSE2 optimization)
  • Use system auditing to correlate application crashes with high CPU load events

Monitoring Recommendations

  • Configure application monitoring to alert on abnormal crash rates
  • Implement centralized logging to correlate nscd-related crashes across multiple systems
  • Monitor system load metrics to identify conditions that may trigger the vulnerability
  • Deploy endpoint detection solutions capable of identifying race condition exploitation patterns

How to Mitigate CVE-2026-3904

Immediate Actions Required

  • Update glibc to a patched version that includes the fix for the race condition
  • For systems where immediate patching is not possible, consider temporarily disabling nscd caching
  • Review Linux distribution security advisories for vendor-specific patches
  • Prioritize patching on x86_64 systems running glibc 2.35 or 2.36 under high-load conditions

Patch Information

The GNU C Library project has released fixes for this vulnerability. The relevant commits are available in the glibc repository:

  • GLIBC Commit Details #8804157 - Primary fix
  • GLIBC Commit Details #b712be5 - Additional fix

The fix has been backported to all vulnerable branches in the GNU C Library repository. Distributions that may have cherry-picked the memcpy SSE2 optimization should also apply the fix to avoid potential crashes. For additional details, see the GLIBC Security Advisory 2026-0004 and the Sourceware Bug Report #29863.

Workarounds

  • Disable nscd service temporarily using systemctl stop nscd && systemctl disable nscd
  • Configure applications to bypass nscd caching by modifying /etc/nsswitch.conf
  • Reduce system load to minimize the likelihood of triggering the race condition
  • Consider using alternative caching mechanisms such as sssd where applicable
bash
# Temporary workaround: Disable nscd service
systemctl stop nscd
systemctl disable nscd

# Alternative: Modify nsswitch.conf to bypass nscd
# Backup original configuration
cp /etc/nsswitch.conf /etc/nsswitch.conf.backup

# Edit nsswitch.conf to remove [NOTFOUND=return] hints
# or configure applications to not use caching

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGnu C Library

  • SeverityMEDIUM

  • CVSS Score6.2

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-366
  • Technical References
  • Sourceware Bug Report #29863

  • GLIBC Security Advisory 2026-0004

  • GLIBC Commit Details #8804157

  • GLIBC Commit Details #b712be5

  • Openwall OSS-Security Discussion
  • Related CVEs
  • CVE-2026-4046: GNU C Library iconv() DOS Vulnerability

  • CVE-2025-15281: GNU C Library (glibc) DoS Vulnerability

  • CVE-2026-4437: GNU C Library Use-After-Free Vulnerability

  • CVE-2026-0861: GNU C Library Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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