{"id":"CVE-2025-24531","aliases":["DEBIAN-CVE-2025-24531","DSA-5864-1","EUVD-2025-206298","GHSA-7mf6-rg36-qgch","SUSE-SU-2025:20130-1","SUSE-SU-2025:20225-1","UBUNTU-CVE-2025-24531","USN-7363-1","openSUSE-SU-2025:14738-1"],"status":"published","title":"pam-pkcs11 - security update","description":"In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.","severity":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00229,"percentile":0.13811,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-393"],"published":"2025-02-06T00:00:00Z","modified":"2026-10-28T02:30:30Z","fixes":[{"ecosystem":"Debian:12","package":"pam-pkcs11","fixed_in":["0.6.12-1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pam-pkcs11","fixed_in":["0.6.13-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pam-pkcs11","fixed_in":["0.6.13-1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Micro 6.0","package":"pam_pkcs11","fixed_in":["0.6.12-2.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Micro 6.1","package":"pam_pkcs11","fixed_in":["0.6.12-slfo.1.1_3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"pam-pkcs11","fixed_in":["0.6.12-2ubuntu0.24.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.12-1+deb12u1"}]}],"versions":["0.6.12-1"]},{"source":"osv","ecosystem":"Debian:13","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.13-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.13-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.12-1+deb12u1"}]}],"versions":["0.6.12-1"],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.0","package":"pam_pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.12-2.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.1","package":"pam_pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.12-slfo.1.1_3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.12-2ubuntu0.24.04.1"}]}],"versions":["0.6.12-1","0.6.12-2","0.6.12-2build2","0.6.12-2build3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.8-4ubuntu0.1~esm1"}]}],"versions":["0.6.8-4"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.9-2ubuntu0.1~esm1"}]}],"versions":["0.6.9-1","0.6.9-2","0.6.9-2build1","0.6.9-2build2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.11-2ubuntu0.1"}]}],"versions":["0.6.11-2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.11-4ubuntu0.1"}]}],"versions":["0.6.11-4build1","0.6.11-4build2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pam-pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.12-2ubuntu0.24.04.1"}]}],"versions":["0.6.12-1","0.6.12-2","0.6.12-2build2","0.6.12-2build3"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"pam_pkcs11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.13-1.1"}]}],"bundled":2}],"products":[{"vendor":"opensc project","product":"pam_pkcs11"}],"references":[{"url":"https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-7mf6-rg36-qgch","tags":["advisory"]},{"url":"https://github.com/OpenSC/pam_pkcs11/releases","tags":["package"]},{"url":"https://www.openwall.com/lists/oss-security/2025/02/06/3","tags":["web","report"]},{"url":"http://www.openwall.com/lists/oss-security/2025/02/06/3","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/02/06/7","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24531.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24531","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-24531","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202520130-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1236314","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2025-24531","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202520225-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-24531","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-24531","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7363-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-24032","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-24032","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-24531","description":"In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.","status":"published","published":"2026-01-16T00:00:00Z","modified":"2026-01-16T18:07:08.192Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-393"],"updated_at":"2026-11-02T14:32:43.770144Z"}],"euvd":[{"id":"EUVD-2025-206298","description":"In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.","status":"published","published":"2026-01-16T00:00:00Z","modified":"2026-01-16T18:07:08Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T19:48:50.882066Z"}],"nvd":[{"id":"CVE-2025-24531","description":"In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.","status":"published","published":"2026-01-16T18:16:06.817Z","modified":"2026-06-17T08:59:10.87Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-393"],"updated_at":"2026-11-02T14:11:57.915063Z"}],"osv":[{"id":"CVE-2025-24531","description":"In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.","status":"published","published":"2026-01-16T00:00:00Z","modified":"2026-10-28T02:30:30.146124861Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"cwes":["CWE-393"],"updated_at":"2026-11-02T15:44:47.386092Z"},{"id":"DEBIAN-CVE-2025-24531","description":"In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.","status":"published","published":"2026-01-16T18:16:06.817Z","modified":"2026-09-01T20:05:45.121167609Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:45.870237Z"},{"id":"UBUNTU-CVE-2025-24531","description":"In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.","status":"published","published":"2025-02-07T00:00:00Z","modified":"2026-02-04T03:14:17.856394Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:26.330196Z"},{"id":"DSA-5864-1","title":"pam-pkcs11 - security update","status":"published","published":"2025-02-12T00:00:00Z","modified":"2026-03-09T02:11:01.157393Z","updated_at":"2026-11-02T15:46:17.892347Z"},{"id":"openSUSE-SU-2025:14738-1","title":"pam_pkcs11-0.6.13-1.1 on GA media","description":"These are all security issues fixed in the pam_pkcs11-0.6.13-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-02-06T00:00:00Z","modified":"2026-02-04T02:52:24.207303Z","updated_at":"2026-11-02T16:58:36.976155Z"},{"id":"SUSE-SU-2025:20130-1","title":"Security update for pam_pkcs11","description":"This update for pam_pkcs11 fixes the following issues:\n\n- CVE-2025-24531: Fixed regression in version 0.6.12 returning PAM_IGNORE in many situations with possible authentication bypass (bsc#1236314).\n","status":"published","published":"2025-02-26T13:23:25Z","modified":"2026-03-23T04:50:42.322798Z","updated_at":"2026-11-02T15:53:59.381172Z"},{"id":"SUSE-SU-2025:20225-1","title":"Security update for pam_pkcs11","description":"This update for pam_pkcs11 fixes the following issues:\n\n- CVE-2025-24531: Fixed regression in version 0.6.12 returning PAM_IGNORE in many situations with possible authentication bypass (bsc#1236314).\n","status":"published","published":"2025-02-26T13:44:24Z","modified":"2026-03-23T04:50:05.261984Z","updated_at":"2026-11-02T15:53:59.381172Z"},{"id":"USN-7363-1","title":"pam-pkcs11 vulnerabilities","description":"Marcus Rückert and Matthias Gerstner discovered that PAM-PKCS#11 did not\nproperly handle certain return codes when authentication was not possible.\nAn attacker could possibly use this issue to bypass authentication. This\nissue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2025-24531)\n\nIt was discovered that PAM-PKCS#11 did not require a private key signature\nfor authentication by default. An attacker could possibly use this issue\nto bypass authentication. (CVE-2025-24032)\n","status":"published","published":"2025-03-20T18:43:56Z","modified":"2026-06-25T13:32:19.47064124Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
