UBUNTU-CVE-2025-24531

Source
https://ubuntu.com/security/CVE-2025-24531
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-24531.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-24531
Upstream
Downstream
Related
Published
2025-02-07T00:00:00Z
Modified
2026-01-21T18:18:27.175751Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - high
Summary
[none]
Details

In OpenSC pampkcs11 before 0.6.13, pamsmauthenticate() wrongly returns PAMIGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.

References

Affected packages

Ubuntu:24.04:LTS / pam-pkcs11

Package

Name
pam-pkcs11
Purl
pkg:deb/ubuntu/pam-pkcs11@0.6.12-2ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.12-2ubuntu0.24.04.1

Affected versions

0.*

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_name": "libpam-pkcs11",
            "binary_version": "0.6.12-2ubuntu0.24.04.1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-24531.json"