Logo
componentlibpam
Name
libpam
Version
1.5.2
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.2:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
1.7.2
scarthgap
1.5.3

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_motd: do not rely on all filesystems providing a filetype
Per Jessen <per@jessen.ch>
6
pam_namespace: secure_opendir: do not look at the group
"Dmitry V. Levin" <ldv@strace.io>
CVE-2025-6020
7
pam_namespace: include stdint.h
Jacob Heider <jacob@pkgx.dev>
8
pam_access: handle hostnames in access.conf
Thorsten Kukuk <kukuk@suse.com>
CVE-2022-28321
9
pam_unix/passverify: always run the helper to obtain shadow
"Dmitry V. Levin" <ldv@strace.io>
CVE-2024-10041
10
pam_inline: introduce pam_asprintf(), pam_snprintf(), and
"Dmitry V. Levin" <ldv@strace.io>
11
Patch #11
Kang Kai <kai.kang@windriver.com>
12
run-xtests.sh: check whether files exist
Mingli Yu <mingli.yu@windriver.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.
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.
Patched
The Linux-PAM package before 1.5.2-6.1 for openSUSE Tumbleweed allows authentication bypass for SSH logins. The pam_access.so module doesn't correctly restrict login if a user tries to connect from an IP address that is not resolvable via DNS. In such conditions, a user with denied access to a machine can still get access. NOTE: the relevance of this issue is largely limited to openSUSE Tumbleweed and openSUSE Factory; it does not affect Linux-PAM upstream.