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.

Published: 2024-10-23 Last update: 2024-12-18 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-10041 is rated Low Risk (21.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-10041

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 0.06% 0.03% -0.02%
2 2025-11-18 0.03% 0.06% +0.02%
3 2025-03-30 0.03%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-10041

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.7 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.0 3.6 [email protected]

Weakness enumeration for CVE-2024-10041

OS Trackers for CVE-2024-10041

vendor priority summary link
debian not yet assigned CVE-2024-10041 not yet assigned priority: Debian including 1 source packages (pam), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-10041
gentoo high CVE-2024-10041: 1 GLSA(s) (202505-01), 1 atom(s) (sys-libs/pam); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-10041
redhat medium https://access.redhat.com/security/cve/CVE-2024-10041
suse medium CVE-2024-10041 severity moderate: SUSE including 447 source package names (0.0.17-1.1:pam-1.3.0-150000.6.86.1, 0.11.4-10.79:pam-1.3.0-150000.6.86.1, …), 1653 product×package rows across 415 product lines (Container bci/kiwi, Container bci/nodejs, … (415 product lines)): Fixed 1426, Known Affected 221, First Fixed 5, Known Not Affected 1. https://www.suse.com/security/cve/CVE-2024-10041/
ubuntu medium CVE-2024-10041 medium priority: Ubuntu including 1 source packages (pam), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, trusty, upstream, xenial): ignored 8, released 1. https://ubuntu.com/security/CVE-2024-10041

Affected software / configurations for CVE-2024-10041

Vendor Product Version Raw CPE
linux-pam linux-pam cpe:2.3:a:linux-pam:linux-pam:-:*:*:*:*:*:*:*

References for CVE-2024-10041

cvelogic Threat Intelligence