CVE-2024-10041: Pam: libpam: libpam vulnerable to read hashed password
A vulnerability was found in PAM. The secret information is stored in memory, where the attacker can trigger the victim program to execute by sending characters to its standard input (stdin). As this occurs, the attacker can train the branch predictor to execute an ROP chain speculatively. This flaw could result in leaked passwords, such as those found in /etc/shadow while performing authentications.
Security readout for executives and security teams
Plain-English summary
CVE-2024-10041 is a PAM/libpam issue that may let a local, low-privileged attacker infer sensitive password hash data from memory during authentication activity. It is not a remote takeover bug, but PAM is core login infrastructure, so affected Linux systems should be tracked and updated through vendor channels.
Executive priority
Treat as a managed patching priority, not an emergency internet-facing incident. Focus on servers where local users, contractors, or compromised low-privilege accounts could exist. PAM’s role in authentication raises sensitivity even with a medium score.
Technical view
The flaw involves secret information remaining in memory and a local attacker influencing a victim program through stdin to train branch prediction and speculatively execute an ROP chain. Red Hat describes possible leakage of passwords or hashes such as /etc/shadow during authentication. CVSS is 4.7: local access, high complexity, low privileges, high confidentiality impact.
Likely exposure
Exposure is most relevant to systems using affected Red Hat PAM packages listed for RHEL 8, RHEL 9, and RHEL 9.4 EUS. RHEL 10 is listed as unaffected. RHEL 7 status is unknown in the provided data. Other distributions are not established by the supplied sources.
Exploitation context
No active exploitation is indicated by CISA KEV or the provided sources. Exploitation requires local low-privileged access and high-complexity speculative execution conditions. The main business risk is confidentiality loss of password hashes on shared or multi-user Linux systems.
Researcher notes
Evidence supports a local, high-complexity confidentiality issue in PAM/libpam with Red Hat affected-status detail. The bundle does not provide universal upstream impact, fixed versions, exploit availability, or non-Red Hat distribution status. Avoid extrapolating beyond the listed products and advisories.
Mitigation direction
Apply applicable Red Hat security advisories for affected RHEL releases.
Prioritize shared, multi-user, bastion, and authentication-heavy Linux systems.
Check vendor guidance for non-Red Hat PAM packages before assuming exposure or remediation.
Reduce unnecessary local shell access on systems until remediation is complete.
Validation and detection
Inventory Linux systems using PAM/libpam packages.
Map RHEL systems to affected releases and package versions listed by Red Hat.
Confirm whether RHSA-2024:9941, RHSA-2024:10379, or RHSA-2024:11250 applies.
Verify patched package state using approved enterprise vulnerability or package management tooling.
Document exceptions where RHEL 7 or non-Red Hat status remains unconfirmed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-922: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-922 · source CWE mapping
Insecure Storage of Sensitive Information
Insecure Storage of Sensitive Information represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.