CVE-2024-10041
Pam: libpam: libpam vulnerable to read hashed password
No exploitation reported by the sources we read.
- Published2024-10-23
- WeaknessCWE-922
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2024-10-2313:46CVE publishedCNA
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA6 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- pamother versions: not affected
https://github.com/linux-pam/linux-pam
Affected- ≥ 1.6.0, < 1.6.0fixed in 1.6.0semver
- Red Hat Enterprise Linux 8other versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.3.1-36.el8_10
- Red Hat Enterprise Linux 9other versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.5.1-21.el9_5
- Red Hat Enterprise Linux 9.4 Extended Update Supportother versions: affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:1.5.1-21.el9_4
- Red Hat Enterprise Linux 10other versions: not affected
package pamhttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 7other versions: unknown
package pamhttps://access.redhat.com/downloads/content/package-browser/
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-05
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apparmorSUSE:Manager Server 4.3all versions · fixed in 3.0.4-150400.5.18.1and 1 other package
- apparmorSUSE:Manager Proxy 4.3all versions · fixed in 3.0.4-150400.5.18.1and 1 other package
- apparmorSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5all versions · fixed in 2.8.2-56.26.1
- apparmorSUSE:Linux Enterprise Server for SAP Applications 15 SP5all versions · fixed in 3.0.4-150500.11.18.1and 1 other package
- apparmorSUSE:Linux Enterprise Server for SAP Applications 15 SP4all versions · fixed in 3.0.4-150400.5.18.1and 1 other package
- apparmorSUSE:Linux Enterprise Server for SAP Applications 15 SP3all versions · fixed in 2.13.6-150300.3.24.1and 1 other package
- apparmorSUSE:Linux Enterprise Server 15 SP5-LTSSall versions · fixed in 3.0.4-150500.11.18.1and 1 other package
- apparmorSUSE:Linux Enterprise Server 15 SP4-LTSSall versions · fixed in 3.0.4-150400.5.18.1and 1 other package
107 more package ranges on OSV.dev
Vendor advisories
pam: libpam: Libpam vulnerable to read hashed password
pam as a component of Red Hat Enterprise Linux 7 · pam-devel as a component of Red Hat Enterprise Linux 7 · pam.src as a component of Red Hat Enterprise Linux 7
Red Hat Security Advisory: pam security update
Red Hat Security Advisory: pam security update
Red Hat Security Advisory: pam security update
Fix
- Vendor fix Red Hat Product Security RHSA-2024:11250 · 35 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:11250 · 35 productsThis vulnerability is mitigated if SELinux is in Enforcing mode. To verify if SELinux is in Enforcing mode, the output of the `getenforce` command will return `Enforcing', see the example below: ~~~ $ getenforce Enforcing ~~~ To more information about SELinux, specifically how to set it to Enfor…
- No fix planned, says the vendor Red Hat Product Security CVE-2024-10041 · 3 productsOut of support scope
Advisories and patches
- access.redhat.comMitigation
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-05
- CISA-ADPSSVC decisionnone2024-10-23
- CNACVSS 3.14.72026-11-05
- CISA-ADPweakness (CWE)CWE-9222024-11-04
- CNAweakness (CWE)CWE-9222026-11-05
- FIRST EPSSEPSS score0.3 %2026-11-18
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-51693same flawAzure Linux · MIT
- AZL-51729same flawAzure Linux · MIT
- CGA-458g-f2r5-794vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6qq-f459-vx6wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gwc3-499p-fmr6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rfr2-fwxr-ggrxsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-33572same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-7gm5-m2xc-vh2jsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-93w6-42qq-c9mmsame flawMinimOS · LicenseRef-unstated
- ALSA-2024:10379advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:11250advisory covering several CVEsAlmaLinux · MIT
- MGASA-2025-0149advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1598advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1599advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1600advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1601advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15477-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20533-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:10379advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:11250advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:9941advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2024:10379advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2025:01511-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02970-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02970-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02971-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1158-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1334-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1505-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1511-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1512-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1517-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:1549-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20750-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:21112-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:21192-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Published
- 2024-10-23
- Last Modified
- 2026-11-05
- NVD status
- Modified
- GitHub Advisory
- GHSA-7gm5-m2xc-vh2j
Frequently asked questions
What is CVE-2024-10041?
Is CVE-2024-10041 actively exploited?
What is the CVSS score for CVE-2024-10041?
Running pam? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-7gm5-m2xc-vh2j
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0