CVE-2025-24531

Source
https://cve.org/CVERecord?id=CVE-2025-24531
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-24531.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-24531
Aliases
  • GHSA-7mf6-rg36-qgch
Downstream
Related
Published
2026-01-16T00:00:00Z
Modified
2026-07-15T01:49:14.018154864Z
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
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.

Database specific
{
    "cwe_ids": [
        "CWE-393"
    ],
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24531.json"
}
References

Affected packages

Git / github.com/opensc/pam_pkcs11

Affected ranges

Type
GIT
Repo
https://github.com/opensc/pam_pkcs11
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.6.12"
        },
        {
            "fixed": "0.6.13"
        },
        {
            "introduced": "pam_pkcs11"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

pam_pkcs11-0.*
pam_pkcs11-0.6.12

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-24531.json"