Skip to main content
No exploitation reportedFix available

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?

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
  1. 2024-10-2313:46CVE publishedCNA

Versions per branch

NVD
Linux-pamversion to verify
BranchAffectedFixed in
—all versionsno fix published

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.

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

  • CVE-2024-10041 Red Hat Product Security91 products fixed · 3 known affected

    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

  • RHSA-2024:11250 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: pam security update

  • RHSA-2024:10379 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: pam security update

  • RHSA-2024:9941 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: pam security update

Full record on NVD

Fix

  1. 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
  2. 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…
  3. No fix planned, says the vendor Red Hat Product Security CVE-2024-10041 · 3 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2024-10041 actively exploited?

Active exploitation of CVE-2024-10041 has not been confirmed. Its EPSS score was 0.3% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-10041?

CVE-2024-10041 has a CVSS v3 base score of 4.7 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.

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

Sources for this record