{"id":"UBUNTU-CVE-2019-16058","details":"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.","modified":"2025-10-24T04:47:52Z","published":"2019-09-06T18:15:00Z","upstream":["CVE-2019-16058"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-16058"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-16058"}],"affected":[{"package":{"name":"pam-p11","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/pam-p11@0.1.5-3ubuntu1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.5-2ubuntu1","0.1.5-3","0.1.5-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpam-p11","binary_version":"0.1.5-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16058.json"}},{"package":{"name":"pam-p11","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/pam-p11@0.1.5-4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.5-3ubuntu1","0.1.5-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libpam-p11","binary_version":"0.1.5-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16058.json"}},{"package":{"name":"pam-p11","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pam-p11@0.1.6-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.6-2","0.1.6-2.1build1","0.1.6-2.1build2","0.1.6-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.6-3","binary_name":"libpam-p11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16058.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}