{"id":"CVE-2019-16058","aliases":["DEBIAN-CVE-2019-16058","EUVD-2019-6921","GHSA-2pqr-cp8m-m5vw","UBUNTU-CVE-2019-16058","openSUSE-SU-2024:11143-1"],"status":"published","title":"An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card...","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01526,"percentile":0.74896,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2019-09-06T17:51:04Z","modified":"2026-10-24T14:19:55Z","fixes":[{"ecosystem":"Debian:12","package":"pam-p11","fixed_in":["0.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pam-p11","fixed_in":["0.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pam-p11","fixed_in":["0.3.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pam-p11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pam-p11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pam-p11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.1-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"pam-p11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.5-2ubuntu1","0.1.5-3","0.1.5-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"pam-p11","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.5-3ubuntu1","0.1.5-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"pam-p11","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"]}],"products":[{"vendor":"opensc_project","product":"opensc"}],"references":[{"url":"https://github.com/OpenSC/pam_p11/commit/d150b60e1e14c261b113f55681419ad1dfa8a76c","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2019/09/12/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16058"},{"url":"https://github.com/advisories/GHSA-2pqr-cp8m-m5vw"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-16058","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-16058","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16058","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2019-16058","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-16058","description":"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.","status":"published","published":"2019-09-06T17:51:04Z","modified":"2024-08-05T01:03:32.922Z","updated_at":"2026-11-02T14:32:23.485011Z"}],"euvd":[{"id":"EUVD-2019-6921","description":"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.","status":"published","published":"2019-09-06T17:51:04Z","modified":"2024-08-05T01:03:32Z","updated_at":"2026-11-03T02:40:34.136734Z"}],"ghsa":[{"id":"GHSA-2pqr-cp8m-m5vw","title":"An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card...","description":"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.","status":"published","published":"2022-05-24T16:55:34Z","modified":"2024-04-04T01:53:32Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:56:03.89673Z"}],"nvd":[{"id":"CVE-2019-16058","description":"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.","status":"published","published":"2019-09-06T18:15:15.507Z","modified":"2026-06-17T02:21:36.55Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:05:25.691233Z"}],"osv":[{"id":"CVE-2019-16058","description":"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.","status":"published","published":"2019-09-06T18:15:15.507Z","modified":"2026-10-24T14:19:55.679318551Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:11.361782Z"},{"id":"DEBIAN-CVE-2019-16058","description":"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.","status":"published","published":"2019-09-06T18:15:15.507Z","modified":"2026-09-21T07:01:13.796173578Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:31.867036Z"},{"id":"UBUNTU-CVE-2019-16058","description":"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.","status":"published","published":"2019-09-06T18:15:00Z","modified":"2025-10-24T04:47:52Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:20.325378Z"},{"id":"openSUSE-SU-2024:11143-1","title":"pam_p11-0.3.1-1.2 on GA media","description":"These are all security issues fixed in the pam_p11-0.3.1-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:53:49.159299Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
