# CVE-2024-10041: Pam: libpam: libpam vulnerable to read hashed password

- Severity: Medium 4.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2024-10-23T13:46:27.963Z
- Modified: 2026-11-24T04:17:18.297Z
- Weaknesses: CWE-922
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- pam: from 1.6.0 before 1.6.0 (not affected: from 0:1.3.1-36.el8_10 before *; from 0:1.5.1-21.el9_5 before *; from 0:1.5.1-21.el9_4 before *)
- linux-pam linux-pam: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2024:10379> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:11250> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:9941> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-10041> (mitigation, third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2319212> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2024-10041](https://www.cve.org/CVERecord?id=CVE-2024-10041), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2024-10041](https://nvd.nist.gov/vuln/detail/CVE-2024-10041), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2024-10041 · Whole record: https://cve.day/CVE-2024-10041.json · Rebuilt by cve.day 2026-11-25T22:58:47.170Z
