{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-24031","published":"2025-02-10T16:15:38.990000Z","last_modified":"2026-06-17T08:57:55.493000Z","status":"Deferred","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"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/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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-476"],"cpes":[],"cpes_truncated":false,"vendors":["opensc"],"products":["opensc/pam_pkcs11"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":31,"links":{"html_es":"/es/cve/CVE-2025-24031/","html_en":"/en/cve/CVE-2025-24031/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-24031","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-24031"},"untrusted":{"vendor_name":"OpenSC","product_name":"pam_pkcs11","desc_en":"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.","affected":[{"untrusted_vendor":"OpenSC","untrusted_product":"pam_pkcs11","versions":[]}],"references":[{"url":"https://github.com/OpenSC/pam_pkcs11/blob/bb2e3f3a95e44fdf44b0d5a4b377db3179021380/src/pam_pkcs11/pam_pkcs11.c#L211","tags":[]},{"url":"https://github.com/OpenSC/pam_pkcs11/blob/bb2e3f3a95e44fdf44b0d5a4b377db3179021380/src/pam_pkcs11/pam_pkcs11.c#L797","tags":[]},{"url":"https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-wvr3-c9x3-9mff","tags":[]}]}}