CVE-2025-24031
Last modified
CVE-2025-24031 is a medium-severity vulnerability rated 5.1/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-24031?
How severe is CVE-2025-24031?
How do I fix CVE-2025-24031?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-24026iTop is an web based IT Service Management tool. Versions pr…5.3
- CVE-2025-24027ps_contactinfo, a PrestaShop module for displaying store con…6.2
- CVE-2025-24028Joplin is a free, open source note taking and to-do applicat…9.6
- CVE-2025-24029Tuleap is an Open Source Suite to improve management of soft…5.3
- CVE-2025-2403A denial-of-service vulnerability due to improper prioritiza…8.7
- CVE-2025-24030Envoy Gateway is an open source project for managing Envoy P…7.1
- CVE-2025-24032PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 …9.2
- CVE-2025-24033@fastify/multipart is a Fastify plugin for parsing the multi…7.5
- CVE-2025-24034Himmelblau is an interoperability suite for Microsoft Azure …3.2
- CVE-2025-24035Sensitive data storage in improperly locked memory in Window…8.1
- CVE-2025-24036Microsoft AutoUpdate (MAU) Elevation of Privilege Vulnerabil…7
- CVE-2025-24039Visual Studio Code Elevation of Privilege Vulnerability7.3
Are you affected by CVE-2025-24031?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
