---
id: CVE-2024-10041
title: A vulnerability was found in PAM
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 br…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-922
  - CWE-922
vendor: linux-pam
product: linux-pam
affected:
  - linux-pam
published: '2024-10-23'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-10041'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:10379'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:11250'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:9941'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-10041'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2319212'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00265
epssPercentile: 0.16351
ingestedAt: '2026-06-29T13:24:33.969Z'
---

## Overview

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.

## Affected

- `linux-pam`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
