Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-24031

published medium CVSS 4.0 · 5.1

PAM-PKCS#11 vulnerable to segmentation fault on ctrl-c/ctrl-d when asked for PIN

Published
10 Feb 2025, 15:38:39 UTC
Updated
10 Feb 2025, 15:50:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSC — pam_pkcs11<= 0.6.12 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
SUSE / openSUSE SLE-12-SP5 pam_pkcs11x86_64 Advisory build 0.6.8-7.8.1 SUSE-SU-2025:0688-1
SUSE / openSUSE SLE-15-SP6 pam_pkcs11aarch64 Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE SLE-15-SP6 pam_pkcs11ppc64le Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE SLE-15-SP6 pam_pkcs11s390x Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE SLE-15-SP6 pam_pkcs11x86_64 Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE SLE-5 pam_pkcs11aarch64 Advisory build 0.6.10-150100.3.6.1 SUSE-SU-2025:0712-1
Show 11 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-5 pam_pkcs11ppc64le Advisory build 0.6.10-150100.3.6.1 SUSE-SU-2025:0712-1
SUSE / openSUSE SLE-5 pam_pkcs11s390x Advisory build 0.6.10-150100.3.6.1 SUSE-SU-2025:0712-1
SUSE / openSUSE SLE-5 pam_pkcs11x86_64 Advisory build 0.6.10-150100.3.6.1 SUSE-SU-2025:0712-1
SUSE / openSUSE openSUSE-Leap-15.6 pam_pkcs11aarch64 Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE openSUSE-Leap-15.6 pam_pkcs11ppc64le Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE openSUSE-Leap-15.6 pam_pkcs11s390x Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE openSUSE-Leap-15.6 pam_pkcs11x86_64 Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE SLE-12-SP5 pam_pkcs11-32bitx86_64 Advisory build 0.6.8-7.8.1 SUSE-SU-2025:0688-1
SUSE / openSUSE SLE-15-SP6 pam_pkcs11-32bitx86_64 Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE openSUSE-Leap-15.6 pam_pkcs11-32bitx86_64 Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1
SUSE / openSUSE openSUSE-Leap-15.6 pam_pkcs11-devel-docnoarch Advisory build 0.6.10-150600.16.3.1 SUSE-SU-2025:0689-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.1 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSC pam_pkcs11 <= 0.6.12 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-476 CWE-476: NULL Pointer Dereference (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

PAM-PKCS#11 vulnerable to segmentation fault on ctrl-c/ctrl-d when asked for PIN

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
152e9334d2501ef350b017f8502b86bbeb170aee8454192cfec0dd59c9f0746d
Ingested
23 Sep 2026, 08:41:01 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected