Skip to content
Fencer Vulns
medium 4.7

CVE-2024-10041 json

Pam: libpam: libpam vulnerable to read hashed password

published 2024-10-23 2 y ago modified 2026-11-05 4 d ago also EUVD-2024-33572

cvss
4.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 18%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 8 0:1.3.1-36.el8_10
  • Red Hat Red Hat Enterprise Linux 9 0:1.5.1-21.el9_5
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:1.5.1-21.el9_4
  • pam Debian 14, Debian 13 1.7.0-2

debian advisories DEBIAN-CVE-2024-10041

  • pam RHEL 9 1.5.1-21.el9_5
  • pam RHEL 8 1.3.1-36.el8_10
  • pam RHEL 9.4 EUS 1.5.1-21.el9_4

red hat advisories RHSA-2024:11250RHSA-2024:10379RHSA-2024:9941

  • pam SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.7.1-160000.3.1
  • pam-full-src SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.7.1-160000.3.1
  • pam SLE Module for Development Tools 15 SP7, SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP7 +21 more 1.3.0-150000.6.86.1
  • pam Linux Micro 6.1 1.6.1-slfo.1.1_4.1
  • apparmor SLE Module for Server Applications 15 SP7, SLE Module for Server Applications 15 SP6, SLE Module for Development Tools 15 SP7 +4 more 3.1.7-150600.5.9.1
  • libapparmor SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 3.1.7-150600.5.9.1
  • apparmor SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 3.0.4-150400.5.18.1
  • libapparmor SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 3.0.4-150400.5.18.1

suse advisories SUSE-SU-2026:21112-1SUSE-SU-2026:21192-1SUSE-SU-2025:02970-2SUSE-SU-2025:20750-1SUSE-SU-2025:02971-1SUSE-SU-2025:02970-1

  • pam openSUSE Leap 16.0 1.7.1-160000.3.1
  • pam-full-src openSUSE Leap 16.0 1.7.1-160000.3.1
  • pam openSUSE Tumbleweed 1.7.1-3.1

opensuse advisories openSUSE-SU-2026:20533-1openSUSE-SU-2025:15477-1

  • pam AlmaLinux 9 1.5.1-21.el9_5
  • pam AlmaLinux 8 1.3.1-36.el8_10

almalinux advisories ALSA-2024:11250ALSA-2024:10379

  • pam Rocky Linux 8 1.3.1-36.el8_10

rocky linux advisories RLSA-2024:10379

  • pam CBL-Mariner 2.0 1.5.1-7
  • pam Azure Linux 3.0 1.5.3-4

azure linux advisories AZL-51693AZL-51729

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-10041 updated cvss 4.7

pam: libpam: Libpam vulnerable to read hashed password

  • Red Hat Enterprise Linux 7 pam
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) pam-docs 1.5.1-21.el9_5, pam-devel 1.5.1-21.el9_5, pam-debuginfo 1.5.1-21.el9_5, pam-debugsource 1.5.1-21.el9_5
    fixed: vendor fix RHSA-2024:11250
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) pam-docs 1.5.1-21.el9_4, pam-devel 1.5.1-21.el9_4, pam-debuginfo 1.5.1-21.el9_4, pam-debugsource 1.5.1-21.el9_4
    fixed: vendor fix RHSA-2024:9941
  • Red Hat Enterprise Linux BaseOS (v. 8) pam 1.3.1-36.el8_10
    fixed: vendor fix RHSA-2024:10379
  • Red Hat Enterprise Linux BaseOS (v. 9) pam 1.5.1-21.el9_5
    fixed: vendor fix RHSA-2024:11250
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) pam 1.5.1-21.el9_4
    fixed: vendor fix RHSA-2024:9941
  • Red Hat Enterprise Linux 10 pam
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected products

  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 7

Classification

Weakness
  • CWE-922 Insecure Storage of Sensitive Information

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added remediation information.