{"schemaVersion":3,"id":"CVE-2025-24032","aliases":["UBUNTU-CVE-2025-24032","DEBIAN-CVE-2025-24032","DLA-4058-1"],"status":"published","duplicateOf":null,"title":null,"description":"PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. Prior to version 0.6.13, if cert_policy is set to none (the default value), then pam_pkcs11 will only check if the user is capable of logging into the token. An attacker may create a different token with the user's public data (e.g. the user's certificate) and a PIN known to the attacker. If no signature with the private key is required, then the attacker may now login as user with that created token. The default to *not* check the private key's signature has been changed with commit commi6638576892b59a99389043c90a1e7dd4d783b921, so that all versions starting with pam_pkcs11-0.6.0 should be affected. As a workaround, in `pam_pkcs11.conf`, set at least `cert_policy = signature;`.","dates":{"published":"2025-02-10T15:43:47.166Z","modified":"2025-05-21T15:48:59.150Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.2,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.2,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":9.2,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":9.2,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.2,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00712,"percentile":0.528,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00712},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00712,"percentile":0.528}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00712,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00712,"percentile":0.528}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"debian","product":"pam-pkcs11","name":"pam-pkcs11","label":"pam-pkcs11","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pam-pkcs11","purlType":"deb","versions":[{"text":"< 0.6.12-1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.13-1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.11-4+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.12-1+deb12u1 | < 0.6.13-1 | < 0.6.11-4+deb11u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pam-pkcs11","name":"pam-pkcs11","label":"pam-pkcs11","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pam-pkcs11","purlType":"deb","versions":[{"text":"< 0.6.8-4ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.9-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.11-2ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.11-4ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.12-2ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.8-4ubuntu0.1~esm1 | < 0.6.9-2ubuntu0.1~esm1 | < 0.6.11-2ubuntu0.1 | < 0.6.11-4ubuntu0.1 | < 0.6.12-2ubuntu0.24.04.1","eol":null,"hubHref":null},{"vendor":"opensc","product":"pam_pkcs11","name":"pam_pkcs11","label":"pam_pkcs11","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.6.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.13","eol":null,"hubHref":"/vendor/opensc/pam_pkcs11"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-8r8p-7mgp-vf56","label":"github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-8r8p-7mgp-vf56","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/OpenSC/pam_pkcs11/commit/470263258d1ac59c5eade439c4d9caba0097e6e6","label":"github.com/OpenSC/pam_pkcs11/commit/470263258d1ac59c5eade439c4d9caba0097e6e6","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/OpenSC/pam_pkcs11/commit/b665b287ff955bbbd9539252ff9f9e2754c3fb48","label":"github.com/OpenSC/pam_pkcs11/commit/b665b287ff955bbbd9539252ff9f9e2754c3fb48","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/OpenSC/pam_pkcs11/commit/d9530167966a77115db6e885d459382a2e52ee9e","label":"github.com/OpenSC/pam_pkcs11/commit/d9530167966a77115db6e885d459382a2e52ee9e","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/OpenSC/pam_pkcs11/releases/tag/pam_pkcs11-0.6.13","label":"github.com/OpenSC/pam_pkcs11/releases/tag/pam_pkcs11-0.6.13","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00021.html","label":"lists.debian.org/debian-lts-announce/2025/02/msg00021.html","hostname":"lists.debian.org","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-24032-detect-vulnerability-in-linux-pam-module","label":"www.vicarius.io/vsociety/posts/cve-2025-24032-detect-vulnerability-in-linux-pam-module","hostname":"www.vicarius.io","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-24032-mitigate-linux-pam-module-vulnerability","label":"www.vicarius.io/vsociety/posts/cve-2025-24032-mitigate-linux-pam-module-vulnerability","hostname":"www.vicarius.io","tags":[]},{"url":"https://ubuntu.com/security/CVE-2025-24032","label":"ubuntu.com/security/CVE-2025-24032","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-24032","label":"www.cve.org/CVERecord?id=CVE-2025-24032","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7363-1","label":"ubuntu.com/security/notices/USN-7363-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-24032","label":"security-tracker.debian.org/tracker/CVE-2025-24032","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5864-1","OPENSUSE-SU-2025:14738-1","SUSE-SU-2025:0688-1","SUSE-SU-2025:0689-1","SUSE-SU-2025:0712-1","SUSE-SU-2025:20199-1","USN-7363-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:14738-1","SUSE-SU-2025:0688-1","SUSE-SU-2025:0689-1","SUSE-SU-2025:0712-1","SUSE-SU-2025:20199-1","USN-7363-1"]},"timeline":[{"kind":"published","date":"2025-02-10T15:43:47.166Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-21T15:48:59.150Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:15:31.946Z","stale":false,"partial":false}}