Logo
componentlibpam
Name
libpam
Version
1.5.3
Type
library
Description
Linux-PAM (Pluggable Authentication Modules)
Licenses
GPL-2.0-or-later | BSD-3-Clause
PURL
-
CPE
cpe:2.3:*:*:linux-pam:1.5.3:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
1.5.2
master
1.7.2

Patches#


#
Title
Author
Resolve
1
pam_unix: try to set uid to 0 for unix_chkpwd
Tobias Stoeckmann <tobias@stoeckmann.org>
CVE-2024-10041
2
pam_access: rework resolving of tokens as hostname
Thorsten Kukuk <kukuk@suse.com>
CVE-2024-10963
3
pam_namespace: fix potential privilege escalation
Olivier Bal-Petre <olivier.bal-petre@ssi.gouv.fr>
CVE-2025-6020
4
pam_namespace: protect_dir(): use O_DIRECTORY to prevent
Matthias Gerstner <matthias.gerstner@suse.de>
CVE-2024-22365
5
pam_inline: introduce pam_asprintf(), pam_snprintf(), and
"Dmitry V. Levin" <ldv@strace.io>
6
pam-namespace-rebase
Olivier Bal-Petre <olivier.bal-petre@ssi.gouv.fr>
7
pam_pwhistory: fix passing NULL filename argument to
Md Zain Hasib <hasibm@vmware.com>
8
pam_namespace: secure_opendir: do not look at the group
"Dmitry V. Levin" <ldv@strace.io>
CVE-2025-6020
9
pam_namespace: include stdint.h
Jacob Heider <jacob@pkgx.dev>
10
pam_unix/passverify: always run the helper to obtain shadow
"Dmitry V. Levin" <ldv@strace.io>
CVE-2024-10041
11
Patch #11
Kang Kai <kai.kang@windriver.com>
12
examples: Replace use of termio.h with termios.h
Khem Raj <raj.khem@gmail.com>
13
pam_namespace: add flags to indicate path safety
Olivier Bal-Petre <olivier.bal-petre@ssi.gouv.fr>
CVE-2025-6020

Vulnerabilities#


Name
Analysis
Description
Patched
A flaw was found in linux-pam. The module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.
False Positive
A Local Privilege Escalation (LPE) vulnerability has been discovered in pam-config within Linux Pluggable Authentication Modules (PAM). This flaw allows an unprivileged local attacker (for example, a user logged in via SSH) to obtain the elevated privileges normally reserved for a physically present, "allow_active" user. The highest risk is that the attacker can then perform all allow_active yes Polkit actions, which are typically restricted to console users, potentially gaining unauthorized control over system configurations, services, or other sensitive operations.
Patched
linux-pam (aka Linux PAM) before 1.6.0 allows attackers to cause a denial of service (blocked login process) via mkfifo because the openat call (for protect_dir) lacks O_DIRECTORY.
Patched
A flaw was found in pam_access, where certain rules in its configuration file are mistakenly treated as hostnames. This vulnerability allows attackers to trick the system by pretending to be a trusted hostname, gaining unauthorized access. This issue poses a risk for systems that rely on this feature to control who can access certain services or terminals.
Patched
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.