PT-2025-6067 · Unknown+2 · Pam Pkcs11+2

Bjorn3

·

Published

2025-02-10

·

Updated

2025-04-22

·

CVE-2025-24031

CVSS v4.0

5.1

Medium

VectorAV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions PAM-PKCS#11 versions 0.6.12 and prior
Description The issue affects a Linux-PAM login module that allows X.509 certificate-based user login. When a user presses ctrl-c/ctrl-d while being asked for a PIN, the pam pkcs11 module segfaults. Additionally, if a user enters no PIN, pam get pwd will not initialize the password buffer pointer, causing cleanse to try to dereference an uninitialized pointer, potentially leading to a segfault. The most likely impact is an availability issue due to a daemon that uses PAM crashing.
Recommendations For versions 0.6.12 and prior, as a temporary workaround, consider disabling the pam pkcs11 module until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

CVE-2025-24031
GHSA-WVR3-C9X3-9MFF
OPENSUSE-SU-2025_0689-1
SUSE-SU-2025:0688-1
SUSE-SU-2025:0689-1
SUSE-SU-2025:0712-1
SUSE-SU-2025:20199-1
SUSE-SU-2025_0688-1
SUSE-SU-2025_0689-1

Affected Products

Debian
Pam Pkcs11
Suse