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
    • 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-2024-10041

CVE-2024-10041: Linux-pam Information Disclosure Flaw

CVE-2024-10041 is an information disclosure vulnerability in Linux-pam that allows attackers to leak sensitive data like passwords through speculative execution. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-10041 Overview

A speculative execution side-channel vulnerability has been discovered in Linux-PAM (Pluggable Authentication Modules), a critical authentication framework used across Linux distributions. This vulnerability allows a local attacker to exploit branch prediction mechanisms to speculatively execute Return-Oriented Programming (ROP) chains, potentially leaking sensitive authentication data including password hashes stored in /etc/shadow.

The vulnerability exists because secret information is stored in memory where an attacker can manipulate the victim program's execution by sending characters to its standard input (stdin). By training the branch predictor, an attacker can cause speculative execution of malicious code paths that expose sensitive authentication credentials.

Critical Impact

Local attackers with low privileges can potentially extract password hashes from /etc/shadow during authentication operations, enabling offline password cracking attacks.

Affected Products

  • Linux-PAM (all versions)
  • Red Hat Enterprise Linux 7.0
  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux 9.0

Discovery Timeline

  • October 23, 2024 - CVE-2024-10041 published to NVD
  • December 18, 2024 - Last updated in NVD database

Technical Details for CVE-2024-10041

Vulnerability Analysis

This vulnerability falls under CWE-922 (Insecure Storage of Sensitive Information) and represents a side-channel attack vector targeting the speculative execution capabilities of modern processors. The flaw affects how Linux-PAM handles sensitive authentication data in memory during the authentication process.

The attack leverages speculative execution, a CPU optimization technique where the processor predicts and pre-executes instructions before knowing if they're actually needed. By manipulating the branch predictor through carefully crafted input, an attacker can cause the CPU to speculatively execute an ROP chain that accesses protected memory regions containing password data.

The local attack vector requires the attacker to have existing low-privilege access to the target system. The high complexity rating reflects the sophisticated nature of the attack, which requires precise timing and branch predictor manipulation to successfully extract sensitive data.

Root Cause

The root cause of CVE-2024-10041 lies in the insecure handling of sensitive authentication information in memory during PAM operations. When a program performs authentication using PAM modules, password data and related secrets are temporarily stored in memory in a manner that can be accessed through speculative execution side channels.

The vulnerability is exacerbated by the predictable nature of PAM's authentication flow, which allows attackers to train the branch predictor by sending specific input patterns to the target program's stdin. This enables controlled speculative execution that can leak the contents of memory regions that would normally be inaccessible.

Attack Vector

The attack requires local access to the target system with low-level user privileges. The attacker must be able to:

  1. Send input to a victim program's standard input stream
  2. Train the branch predictor through repeated input patterns
  3. Trigger speculative execution of an ROP chain
  4. Extract leaked data through cache timing side channels

The attack targets authentication operations where sensitive password information from /etc/shadow is being processed, making it particularly dangerous during user login events, sudo operations, or other PAM-authenticated actions.

The speculative execution side-channel nature of this vulnerability means that traditional memory protection mechanisms are bypassed, as the CPU speculatively accesses protected memory before permission checks are enforced.

Detection Methods for CVE-2024-10041

Indicators of Compromise

  • Unusual patterns of stdin input to PAM-authenticated processes
  • Abnormal authentication timing or repeated failed authentication attempts
  • Evidence of cache timing attacks (unusual cache access patterns)
  • Suspicious processes interacting with authentication services during sensitive operations

Detection Strategies

  • Monitor for unusual input patterns to authentication-related processes
  • Implement hardware performance counter monitoring for speculative execution anomalies
  • Deploy endpoint detection solutions capable of identifying side-channel attack patterns
  • Audit access to /etc/shadow and authentication-related files

Monitoring Recommendations

  • Enable detailed logging for PAM authentication events
  • Monitor system call patterns around authentication operations
  • Track process interactions with authentication services
  • Implement real-time alerting for suspicious authentication timing patterns

How to Mitigate CVE-2024-10041

Immediate Actions Required

  • Apply vendor-provided security patches for Linux-PAM immediately
  • Review and update Red Hat Enterprise Linux systems to patched versions
  • Consider enabling additional speculative execution mitigations at the kernel level
  • Audit local user access and remove unnecessary accounts

Patch Information

Red Hat has released security advisories addressing this vulnerability across affected Enterprise Linux versions. System administrators should apply the following updates:

  • Red Hat Security Advisory RHSA-2024:10379
  • Red Hat Security Advisory RHSA-2024:11250
  • Red Hat Security Advisory RHSA-2024:9941

For detailed patch information and CVE analysis, consult the Red Hat CVE Analysis for CVE-2024-10041. Additional technical details are available in Red Hat Bug Report #2319212.

Workarounds

  • Restrict local user access to systems processing sensitive authentication data
  • Implement strict separation between untrusted user processes and authentication services
  • Enable kernel-level speculative execution mitigations where available
  • Consider hardware upgrades to processors with improved speculative execution protections
bash
# Update PAM packages on Red Hat Enterprise Linux
sudo dnf update pam

# Verify current PAM version
rpm -q pam

# Check for available security updates
sudo dnf check-update --security

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLinux Pam

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-922

  • NVD-CWE-noinfo
  • Technical References
  • Red Hat Security Advisory RHSA-2024:10379

  • Red Hat Security Advisory RHSA-2024:11250

  • Red Hat Security Advisory RHSA-2024:9941

  • Red Hat Bug Report #2319212
  • Vendor Resources
  • Red Hat CVE Analysis CVE-2024-10041
  • Related CVEs
  • CVE-2025-8941: Linux PAM Privilege Escalation Vulnerability

  • CVE-2025-6020: Linux PAM Privilege Escalation Vulnerability

  • CVE-2024-22365: Linux PAM Denial of Service Vulnerability

  • CVE-2020-27780: Linux-PAM Auth Bypass 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