{"id":"UBUNTU-CVE-2025-24531","details":"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.","modified":"2026-01-30T00:41:05.756069Z","published":"2025-02-07T00:00:00Z","related":["USN-7363-1"],"upstream":["CVE-2025-24531"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-24531"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-24531"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2025/02/06/3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7363-1"}],"affected":[{"package":{"name":"pam-pkcs11","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pam-pkcs11@0.6.12-2ubuntu0.24.04.1?arch=source&distro=noble"},"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"],"ecosystem_specific":{"priority_reason":"flaw would allow bypassing strong authentication","availability":"No subscription required","binaries":[{"binary_version":"0.6.12-2ubuntu0.24.04.1","binary_name":"libpam-pkcs11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-24531.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"high"}]}