CVE catalog

CVE-2019-16058

pam-p11: CVE-2019-16058

[CVE catalog]

Severity
Medium · CVSS 4.9CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.53% · Oct 25, 2026

An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a length longer than 256 bytes, this triggers a buffer overflow. This may be the case for RSA keys with 4096 bits depending on the signature scheme.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpam-p11sid0.6.1-3fixed
Debianpam-p11forky0.6.1-3fixed
Debianpam-p11trixie0.6.0-2fixed
Debianpam-p11bookworm0.3.1-1.2fixed
Ubuntupam-p1114.040.1.5-2ubuntu1vulnerable
Ubuntupam-p1114.040.1.5-3vulnerable
Ubuntupam-p1114.040.1.5-3ubuntu1vulnerable
Ubuntupam-p1116.040.1.5-3ubuntu1vulnerable
Ubuntupam-p1116.040.1.5-4vulnerable
Ubuntupam-p1118.040.1.6-2vulnerable
Ubuntupam-p1118.040.1.6-2.1build1vulnerable
Ubuntupam-p1118.040.1.6-2.1build2vulnerable
Ubuntupam-p1118.040.1.6-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpam-p11sourcesid0.3.1-1not yet assignedNot reported[939664]
Debianpam-p11sourceforky0.3.1-1not yet assignedNot reported[939664]
Debianpam-p11sourcetrixie0.3.1-1not yet assignedNot reported[939664]
Debianpam-p11sourcebookworm0.3.1-1not yet assignedNot reported[939664]

[Debian bug #939664]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libpam-p11]Fixed

    Source package: [pam-p11]

    Details (2)
    • 0.3.1-1.2 · amd64 · bookworm

      Fixed · Fixed: 0.3.1-1

      dsa · pam-p11 · debian · bookworm; dsa · pam-p11 · debian · 12

    • 0.3.1-1.2 · arm64 · bookworm

      Fixed · Fixed: 0.3.1-1

      dsa · pam-p11 · debian · bookworm; dsa · pam-p11 · debian · 12

[Debian 13 (Trixie)]

  • [libpam-p11]Fixed

    Source package: [pam-p11]

    Details (2)
    • 0.6.0-2+b1 · amd64 · trixie

      Fixed · Fixed: 0.3.1-1

      dsa · pam-p11 · debian · 13

    • 0.6.0-2+b1 · arm64 · trixie

      Fixed · Fixed: 0.3.1-1

      dsa · pam-p11 · debian · 13

Observed:

References