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

Status: published. Published: 2024-10-23. Updated: 2026-11-05.

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.

## Remediation

- workaround: This 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 Enforcing mode, see the links below.

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/using_selinux/index#changing-to-enforcing-mode_changing-selinux-states-and-modes
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/using_selinux/index#changing-to-enforcing-mode_changing-selinux-states-and-modes (source: CNA: redhat)

## Affected products and versions

-  /  (pam): ≥ 1.6.0; < 1.6.0 (affected, semver). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (pam): ≥ 0:1.3.1-36.el8_10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (pam): ≥ 0:1.5.1-21.el9_5; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9.4 Extended Update Support (pam): ≥ 0:1.5.1-21.el9_4; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (pam): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (pam): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 4.7 (medium); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 0.27% as of 2026-11-04; percentile 18.54%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-922

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2024:10379 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:11250 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:9941 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2024-10041 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2319212 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2024-10041; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-10041; retrieved 2026-11-05; source updated Not reported

Revision: c0469efffd3d395df3866d89b540ce7cd0538ac46962eb75f5956e320809ff94

Canonical: https://y2.dev/cve/CVE-2024-10041

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.