CVE-2025-24031

  • Severity 5.1 MEDIUM
  • Published
  • Updated
  • Status Deferred
  • EUVD EUVD-2025-3601
PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. In versions 0.6.12 and prior, the pam_pkcs11 module segfaults when a user presses ctrl-c/ctrl-d when they are asked for a PIN. When a user enters no PIN at all, `pam_get_pwd` will never initialize the password buffer pointer and as such `cleanse` will try to dereference an uninitialized pointer. On my system this pointer happens to have the value 3 most of the time when running sudo and as such it will segfault. The most likely impact to a system affected by this issue is an availability impact due to a daemon that uses PAM crashing. As of time of publication, a patch for the issue is unavailable.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.1 MEDIUM
LOCAL
LOW
NONE
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:L
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 4.0
EPSS Score
Percentile: 15.77%
Debian logo
Debian Releases
Debian Product
Codename
pam-pkcs11
bookworm
unimportant
bookworm (security)
unimportant
bullseye
unimportant
buster
unimportant
forky
unimportant
jessie
unimportant
sid
unimportant
stretch
unimportant
trixie
unimportant
wheezy
unimportant
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pam-pkcs11
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
oracular
ignored
plucky
ignored
questing
ignored
resolute
needs-triage
xenial
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
pam_pkcs11
suse enterprise desktop 15 SP6
0.6.10-150600.16.3.1
fixed
suse enterprise desktop 15 SP7
0.6.10-150600.16.3.1
fixed
suse enterprise sap 15 SP6
0.6.10-150600.16.3.1
fixed
suse enterprise sap 15 SP7
0.6.10-150600.16.3.1
fixed
suse enterprise server 15 SP4
0.6.10-150100.3.6.1
fixed
suse enterprise server 15 SP6
0.6.10-150600.16.3.1
fixed
suse enterprise server 15 SP7
0.6.10-150600.16.3.1
fixed
pam_pkcs11-32bit
suse enterprise desktop 15 SP6
0.6.10-150600.16.3.1
fixed
suse enterprise desktop 15 SP7
0.6.10-150600.16.3.1
fixed
suse enterprise sap 15 SP6
0.6.10-150600.16.3.1
fixed
suse enterprise sap 15 SP7
0.6.10-150600.16.3.1
fixed
suse enterprise server 15 SP4
0.6.10-150100.3.6.1
fixed
suse enterprise server 15 SP6
0.6.10-150600.16.3.1
fixed
suse enterprise server 15 SP7
0.6.10-150600.16.3.1
fixed