---
title: "CVE-2025-24031"
canonical_url: "https://pkgseek.com/security/CVE-2025-24031"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2025-24031

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 d…

CVE-2025-24031 is rated MEDIUM, with 3 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 3
- **Affected distros**: 2
- **Distros with fixed_in**: openSUSE

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libpam-pkcs11 | 0.6.13-1 | — |
| openSUSE | 15.6 | pam_pkcs11 | 0.6.10-150600.14.1 | 0.6.10-150600.16.3.1 |
| openSUSE | 15.6 | pam_pkcs11-32bit | 0.6.10-150600.14.1 | 0.6.10-150600.16.3.1 |
