{"id":"CVE-2024-45619","aliases":["ALPINE-CVE-2024-45619","AZL-48757","AZL-48804","BELL-CVE-2024-45619","CLSA-2025-1765902200","CLSA-2026-1778674879","DEBIAN-CVE-2024-45619","DLA-4004-1","EUVD-2024-41540","GHSA-9vxw-3j77-cj78","MGASA-2025-0096","OESA-2024-2245","SUSE-SU-2024:3443-1","SUSE-SU-2024:3444-1","SUSE-SU-2024:3445-1","SUSE-SU-2024:3517-1","SUSE-SU-2025:20072-1","SUSE-SU-2025:20671-1","UBUNTU-CVE-2024-45619","USN-7346-1","openSUSE-SU-2024:14382-1"],"status":"published","title":"Libopensc: incorrect handling length of buffers or files in libopensc","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00325,"percentile":0.25942,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2024-09-03T05:56:35.394003Z","modified":"2026-11-03T06:32:09Z","fixes":[{"ecosystem":"Alpine:v3.21","package":"opensc","fixed_in":["0.26.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"opensc","fixed_in":["0.26.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"opensc","fixed_in":["0.26.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"opensc","fixed_in":["0.26.0-r0"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"opensc","fixed_in":["0.26.1-1"],"sources":["osv"]},{"ecosystem":"Azure Linux:2","package":"opensc","fixed_in":["0.23.0-5"],"sources":["osv"]},{"ecosystem":"Alpaquita:23","package":"opensc","fixed_in":["0.26.0-r0"],"sources":["osv"]},{"ecosystem":"Alpaquita:stream","package":"opensc","fixed_in":["0.26.0-r0"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.2","package":"opensc","fixed_in":["0.22.0-2.el9_2.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.6","package":"opensc","fixed_in":["0.23.0-5.el9.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"opensc","fixed_in":["0.23.0-0.3+deb12u2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"opensc","fixed_in":["0.25.1-2.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"opensc","fixed_in":["0.25.1-2.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"opensc","fixed_in":["0.22.0-1ubuntu2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"opensc","fixed_in":["0.25.0~rc1-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.21","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.0-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.1-1"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.0-5"}]}]},{"source":"osv","ecosystem":"Alpaquita:23","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.22.0-r4"},{"fixed":"0.26.0-r0"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.22.0-r3"},{"fixed":"0.26.0-r0"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-2.el9_2.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.0-5.el9.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.0-0.3+deb12u2"}]}],"versions":["0.23.0-0.3","0.23.0-0.3+deb12u1"]},{"source":"osv","ecosystem":"Debian:13","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-2.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-2.1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.0-1+deb11u1"}]}],"versions":["0.21.0-1"],"bundled":18},{"source":"osv","ecosystem":"Mageia:9","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.0-1.1.mga9"}]}],"bundled":7},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.0-11.oe2203sp1"}]}],"bundled":7},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.0-7.oe2403"}]}],"bundled":7},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.0-11.oe2203sp4"}]}],"bundled":7},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21.0-11.oe2203sp3"}]}],"bundled":7},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.0-15.oe2003sp4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.0-3.31.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.0-3.31.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150600.11.3.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Leap 15.6","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150600.11.3.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.3","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150400.3.12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.4","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150400.3.12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.5","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150400.3.12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150400.3.12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Leap Micro 5.5","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150400.3.12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-150400.3.12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.1","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.31.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.2","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.31.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.0","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.0-3.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.1","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.0-slfo.1.1_2.1"}]}],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-1ubuntu2+esm1"}]}],"versions":["0.21.0-1ubuntu1","0.22.0-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.0~rc1-1ubuntu0.1~esm1"}]}],"versions":["0.23.0-1ubuntu4","0.24.0~rc1-1","0.25.0~rc1-1","0.25.0~rc1-1build1","0.25.0~rc1-1build2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.0-1ubuntu1+esm2"}]}],"versions":["0.15.0-1ubuntu1","0.15.0-1ubuntu1+esm1"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17.0-3ubuntu0.1~esm2"}]}],"versions":["0.17.0-1","0.17.0-2","0.17.0-2build1","0.17.0-3","0.17.0-3ubuntu0.1~esm1"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.0-3ubuntu0.1~esm2"}]}],"versions":["0.19.0-2","0.20.0-1","0.20.0-2","0.20.0-3","0.20.0-3ubuntu0.1~esm1"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22.0-1ubuntu2+esm1"}]}],"versions":["0.21.0-1ubuntu1","0.22.0-1ubuntu2"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.0~rc1-1ubuntu0.1~esm1"}]}],"versions":["0.23.0-1ubuntu4","0.24.0~rc1-1","0.25.0~rc1-1","0.25.0~rc1-1build1","0.25.0~rc1-1build2"],"bundled":13},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"opensc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.25.1-2.1"}]}],"bundled":7}],"products":[{"vendor":"opensc_project","product":"opensc"},{"vendor":"red hat","product":"red hat enterprise linux 10"},{"vendor":"red hat","product":"red hat enterprise linux 7"},{"vendor":"red hat","product":"red hat enterprise linux 8"},{"vendor":"red hat","product":"red hat enterprise linux 9"},{"vendor":"redhat","product":"enterprise_linux"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-45619","tags":["vdb-entry","x_refsource_REDHAT","Vendor Advisory","advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2309288","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Vendor Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45619","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-9vxw-3j77-cj78"},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-45619","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2024-45619","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2025-1765902200.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1778674879.html","tags":["advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45619.json","tags":["advisory"]},{"url":"https://github.com/OpenSC/OpenSC","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-45619","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2025-0096.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=34087","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7346-1","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2245","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45615","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45616","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45617","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45618","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45620","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8443","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243443-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1217722","tags":["report"]},{"url":"https://bugzilla.suse.com/1230071","tags":["report"]},{"url":"https://bugzilla.suse.com/1230072","tags":["report"]},{"url":"https://bugzilla.suse.com/1230073","tags":["report"]},{"url":"https://bugzilla.suse.com/1230074","tags":["report"]},{"url":"https://bugzilla.suse.com/1230075","tags":["report"]},{"url":"https://bugzilla.suse.com/1230076","tags":["report"]},{"url":"https://bugzilla.suse.com/1230364","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45615","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45616","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45617","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45618","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45619","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-45620","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-8443","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243444-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243445-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243517-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202520072-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202520671-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1219386","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2023-5992","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2024-45619","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-45619","tags":["report"]},{"url":"https://github.com/OpenSC/OpenSC/wiki/CVE-2024-45619","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-42780","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-42782","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-2977","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-5992","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-40660","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-40661","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-8443","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-45615","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-45616","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-45617","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-45618","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-45620","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/IBFHLYOZRTV2LJKPK5IKLVFJCY2NEU5F/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-45619","title":"Libopensc: incorrect handling length of buffers or files in libopensc","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T21:21:39.08Z","modified":"2026-11-06T14:41:34.451Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-120"],"updated_at":"2026-11-06T15:28:32.799664Z"}],"euvd":[{"id":"EUVD-2024-41540","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T21:21:39Z","modified":"2026-11-06T14:41:34Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-06T16:05:20.373498Z"}],"ghsa":[{"id":"GHSA-9vxw-3j77-cj78","title":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An...","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-04T00:31:15Z","modified":"2025-11-04T00:31:20Z","cvss":[{"version":"3.1","score":3.9,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"low"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T15:04:27.827902Z"}],"nvd":[{"id":"CVE-2024-45619","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T22:15:05.527Z","modified":"2026-11-06T15:17:02.513Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-06T18:00:49.117518Z"}],"osv":[{"id":"ALPINE-CVE-2024-45619","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T22:15:05.527Z","modified":"2026-11-03T06:32:09.102126146Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T07:18:15.355745Z"},{"id":"AZL-48757","title":"CVE-2024-45619 affecting package opensc for versions less than 0.26.1-1","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T22:15:05Z","modified":"2026-04-21T04:55:12.107129Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:28:06.032783Z"},{"id":"AZL-48804","title":"CVE-2024-45619 affecting package opensc for versions less than 0.23.0-5","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T22:15:05Z","modified":"2026-04-21T04:29:40.640474Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:28:06.032783Z"},{"id":"BELL-CVE-2024-45619","status":"published","published":"2024-09-03T05:56:35.394003Z","modified":"2026-01-26T09:37:57.198329Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:28:20.452786Z"},{"id":"CVE-2024-45619","title":"Libopensc: incorrect handling length of buffers or files in libopensc","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T21:21:39.08Z","modified":"2026-11-08T02:30:30.856695209Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-120"],"updated_at":"2026-11-07T03:07:54.121207Z"},{"id":"DEBIAN-CVE-2024-45619","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T22:15:05.527Z","modified":"2026-11-07T09:47:27.409515139Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-07T10:14:39.995311Z"},{"id":"OESA-2024-2245","title":"opensc security update","description":"OpenSC provides a set of libraries and utilities to work with smart cards. Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as authentication, mail encryption and digital signatures. OpenSC implements the standard APIs to smart cards, e.g. PKCS#11 API, Windows’ Smart Card Minidriver and macOS Tokend.\r\n\r\nSecurity Fix(es):\r\n\r\nA vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. \nThe problem is missing  initialization of variables expected to be initialized (as arguments to other functions, etc.).(CVE-2024-45615)\r\n\r\nA vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. \r\n\r\nThe following problems were caused by insufficient control of the response APDU buffer and its length when communicating with the card.(CVE-2024-45616)\r\n\r\nA vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. \r\n\r\nInsufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.(CVE-2024-45617)\r\n\r\nA vulnerability was found in pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. \r\n\r\nInsufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.(CVE-2024-45618)\r\n\r\nA vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.(CVE-2024-45619)\r\n\r\nA vulnerability was found in the pkcs15-init tool in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.(CVE-2024-45620)\r\n\r\nA heap-based buffer overflow vulnerability was found in the libopensc OpenPGP driver. A crafted USB device or smart card with malicious responses to the APDUs during the card enrollment process using the `pkcs15-init` tool may lead to out-of-bound rights, possibly resulting in arbitrary code execution.(CVE-2024-8443)","status":"published","published":"2024-10-12T11:07:43Z","modified":"2026-08-18T01:17:34.419751376Z","cvss":[{"version":"3.1","score":3.9,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"low"}],"updated_at":"2026-11-02T15:52:41.595342Z"},{"id":"UBUNTU-CVE-2024-45619","description":"A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.","status":"published","published":"2024-09-03T22:15:00Z","modified":"2026-02-04T04:00:33.920886Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T16:55:02.636559Z"},{"id":"CLSA-2025-1765902200","title":"opensc: Fix of CVE-2024-45619","description":"- CVE-2024-45619: fix insufficient certificate and key length validation","status":"published","published":"2025-12-16T16:23:23Z","modified":"2026-06-01T00:31:32.630214449Z","updated_at":"2026-11-02T15:43:42.847264Z"},{"id":"CLSA-2026-1778674879","title":"opensc: Fix of CVE-2024-45619","description":"- CVE-2024-45619: fix incorrect access of initialized parts of partially filled\n  buffers triggered by crafted APDU responses from USB devices or smart cards","status":"published","published":"2026-05-13T12:21:24Z","modified":"2026-06-01T00:32:52.238312699Z","updated_at":"2026-11-02T15:43:44.737408Z"},{"id":"DLA-4004-1","title":"opensc - security update","status":"published","published":"2024-12-28T00:00:00Z","modified":"2026-03-09T01:19:21.029361Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"MGASA-2025-0096","title":"Updated opensc packages fix security vulnerabilities","description":"Heap buffer overflow in openpgp driver when generating key.\n(CVE-2024-8443)\nUsage of uninitialized values in libopensc and pkcs15init.\n(CVE-2024-45615)\nUninitialized values after incorrect check or usage of apdu response\nvalues in libopensc. (CVE-2024-45616)\nUninitialized values after incorrect or missing checking return values\nof functions in libopensc. (CVE-2024-45617)\nUninitialized values after incorrect or missing checking return values\nof functions in pkcs15init. (CVE-2024-45618)\nIncorrect handling length of buffers or files in libopensc.\n(CVE-2024-45619)\nIncorrect handling of the length of buffers or files in pkcs15init.\n(CVE-2024-45620)\n","status":"published","published":"2025-03-13T18:25:04Z","modified":"2026-04-16T04:42:20.80387014Z","updated_at":"2026-11-02T15:49:43.178336Z"},{"id":"openSUSE-SU-2024:14382-1","title":"opensc-0.25.1-2.1 on GA media","description":"These are all security issues fixed in the opensc-0.25.1-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-10-02T00:00:00Z","modified":"2026-02-04T02:34:20.430954Z","updated_at":"2026-11-02T16:58:36.976155Z"},{"id":"SUSE-SU-2024:3443-1","title":"Security update for opensc","description":"This update for opensc fixes the following issues:\n\n- CVE-2024-45620: Incorrect handling of the length of buffers or files in pkcs15init. (bsc#1230076)\n- CVE-2024-45619: Incorrect handling length of buffers or files in libopensc. (bsc#1230075)\n- CVE-2024-45618: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init. (bsc#1230074)\n- CVE-2024-45617: Uninitialized values after incorrect or missing checking return values of functions in libopensc. (bsc#1230073)\n- CVE-2024-45616: Uninitialized values after incorrect check or usage of APDU response values in libopensc. (bsc#1230072)\n- CVE-2024-45615: Usage of uninitialized values in libopensc and pkcs15init. (bsc#1230071)\n- CVE-2024-8443: Heap buffer overflow in OpenPGP driver when generating key. (bsc#1230364)\n","status":"published","published":"2024-09-25T16:11:01Z","modified":"2026-02-04T04:05:30.900098Z","updated_at":"2026-11-02T15:53:55.639015Z"},{"id":"SUSE-SU-2024:3444-1","title":"Security update for opensc","description":"This update for opensc fixes the following issues:\n\n- CVE-2024-45620: Incorrect handling of the length of buffers or files in pkcs15init. (bsc#1230076)\n- CVE-2024-45619: Incorrect handling length of buffers or files in libopensc. (bsc#1230075)\n- CVE-2024-45618: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init. (bsc#1230074)\n- CVE-2024-45617: Uninitialized values after incorrect or missing checking return values of functions in libopensc. (bsc#1230073)\n- CVE-2024-45616: Uninitialized values after incorrect check or usage of APDU response values in libopensc. (bsc#1230072)\n- CVE-2024-45615: Usage of uninitialized values in libopensc and pkcs15init. (bsc#1230071)\n- CVE-2024-8443: Heap buffer overflow in OpenPGP driver when generating key. (bsc#1230364)\n","status":"published","published":"2024-09-25T16:11:12Z","modified":"2026-02-04T02:40:51.382713Z","updated_at":"2026-11-02T15:53:55.639015Z"},{"id":"SUSE-SU-2024:3445-1","title":"Security update for opensc","description":"This update for opensc fixes the following issues:\n\n- CVE-2024-45620: Incorrect handling of the length of buffers or files in pkcs15init. (bsc#1230076)\n- CVE-2024-45619: Incorrect handling length of buffers or files in libopensc. (bsc#1230075)\n- CVE-2024-45618: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init. (bsc#1230074)\n- CVE-2024-45617: Uninitialized values after incorrect or missing checking return values of functions in libopensc. (bsc#1230073)\n- CVE-2024-45616: Uninitialized values after incorrect check or usage of APDU response values in libopensc. (bsc#1230072)\n- CVE-2024-45615: Usage of uninitialized values in libopensc and pkcs15init. (bsc#1230071)\n- CVE-2024-8443: Heap buffer overflow in OpenPGP driver when generating key. (bsc#1230364)\n","status":"published","published":"2024-09-25T16:11:35Z","modified":"2026-02-04T03:13:26.494607Z","updated_at":"2026-11-02T15:53:55.639015Z"},{"id":"SUSE-SU-2024:3517-1","title":"Security update for opensc","description":"This update for opensc fixes the following issues:\n\n- CVE-2024-45620: Incorrect handling of the length of buffers or files in pkcs15init. (bsc#1230076)\n- CVE-2024-45619: Incorrect handling length of buffers or files in libopensc. (bsc#1230075)\n- CVE-2024-45618: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init. (bsc#1230074)\n- CVE-2024-45617: Uninitialized values after incorrect or missing checking return values of functions in libopensc. (bsc#1230073)\n- CVE-2024-45616: Uninitialized values after incorrect check or usage of APDU response values in libopensc. (bsc#1230072)\n- CVE-2024-45615: Usage of uninitialized values in libopensc and pkcs15init. (bsc#1230071)\n- CVE-2024-8443: Heap buffer overflow in OpenPGP driver when generating key. (bsc#1230364)\n","status":"published","published":"2024-10-03T12:03:40Z","modified":"2026-02-04T04:11:15.350771Z","updated_at":"2026-11-02T15:53:55.639015Z"},{"id":"SUSE-SU-2025:20072-1","title":"Security update for opensc","description":"This update for opensc fixes the following issues:\n\n- CVE-2024-8443: Fixed heap buffer overflow in OpenPGP driver when generating key (bsc#1230364)\n- CVE-2024-45620: Fixed incorrect handling of the length of buffers or files in pkcs15init (bsc#1230076)\n- CVE-2024-45619: Fixed incorrect handling length of buffers or files in libopensc (bsc#1230075)\n- CVE-2024-45618: Fixed uninitialized values after incorrect or missing checking return values of functions in pkcs15init (bsc#1230074)\n- CVE-2024-45617: Fixed uninitialized values after incorrect or missing checking return values of functions in libopensc (bsc#1230073)\n- CVE-2024-45616: Fixed uninitialized values after incorrect check or usage of APDU response values in libopensc (bsc#1230072)\n- CVE-2024-45615: Fixed uninitialized values in libopensc and pkcs15init (bsc#1230071)\n","status":"published","published":"2025-02-03T09:03:31Z","modified":"2026-03-23T04:50:02.923212Z","updated_at":"2026-11-02T15:53:59.381172Z"},{"id":"SUSE-SU-2025:20671-1","title":"Security update for opensc","description":"This update for opensc fixes the following issues:\n\n- CVE-2023-5992: Side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386).\n- CVE-2024-8443: Heap buffer overflow in OpenPGP driver when generating key (bsc#1230364).\n- CVE-2024-45620: Incorrect handling of the length of buffers or files in pkcs15init (bsc#1230076).\n- CVE-2024-45619: Incorrect handling length of buffers or files in libopensc (bsc#1230075).\n- CVE-2024-45618: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init (bsc#1230074).\n- CVE-2024-45617: Uninitialized values after incorrect or missing checking return values of functions in libopensc (bsc#1230073).\n- CVE-2024-45616: Uninitialized values after incorrect check or usage of APDU response values in libopensc (bsc#1230072).\n- CVE-2024-45615: Usage of uninitialized values in libopensc and pkcs15init (bsc#1230071).\n","status":"published","published":"2025-09-05T12:16:37Z","modified":"2026-03-23T04:48:22.027844Z","updated_at":"2026-11-02T15:53:59.92114Z"},{"id":"USN-7346-1","title":"opensc vulnerabilities","description":"It was discovered that OpenSC did not correctly handle certain memory\noperations, which could lead to a use-after-free vulnerability. An\nattacker could possibly use this issue to cause a denial of service or\nexecute arbitrary code. This issue only affected Ubuntu 16.04 LTS,\nUbuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-42780)\n\nIt was discovered that OpenSC did not correctly handle certain memory\noperations, which could lead to a stack buffer overflow. An attacker\ncould possibly use this issue to cause a denial of service or execute\narbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-42782)\n\nIt was discovered that OpenSC did not correctly handle the length of\ncertain buffers, which could lead to a out-of-bounds access vulnerability.\nAn attacker could possibly use this issue to cause a denial of service or\nexecute arbitrary code. This issue only affected Ubuntu 16.04 LTS,\nUbuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-2977)\n\nDeepanjan Pal discovered that OpenSC did not correctly authenticate a zero\nlength PIN. A physically proximate attacker could possibly use this issue\nto gain unauthorized access to certain systems. This issue only affected \nUbuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-40660)\n\nIt was discovered that OpenSC did not correctly handle certain memory\noperations. A physically proximate attacker could possibly use this issue\nto compromise key generation, certificate loading and other card\nmanagement operations. This issue only affected Ubuntu 20.04 LTS and\nUbuntu 22.04 LTS. (CVE-2023-40661)\n\nHubert Kario, Michal Shagam and Eyal Ronen discovered that OpenSC had a\ntiming side-channel and incorrectly handled RSA padding. An attacker\ncould possibly use this issue to recover sensitive information. This issue\nonly affected Ubuntu 22.04 LTS. (CVE-2023-5992)\n\nMatteo Marini discovered that OpenSC did not properly manage memory due to\ncertain uninitialized variables. A physically proximate attacker could\npossibly use this issue to gain unauthorized access to certain systems.\nThis issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,\nUbuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-45615)\n\nMatteo Marini discovered that OpenSC did not correctly handle certain\nmemory operations. A physically proximate attacker could possibly use this\nissue to gain unauthorized access to certain systems. This issue only\naffected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and\nUbuntu 24.10. (CVE-2024-45616, CVE-2024-45617)\n\nMatteo Marini discovered that OpenSC did not correctly handle certain\nmemory operations. A physically proximate attacker could possibly use this\nissue to gain unauthorized access to certain systems.\n(CVE-2024-45618, CVE-2024-45620)\n\nMatteo Marini discovered that OpenSC did not correctly handle certain\nmemory operations. A physically proximate attacker could possibly use this\nissue to gain unauthorized access to certain systems. This issue only\naffected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10.\n(CVE-2024-45619)\n\nIt was discovered that OpenSC did not correctly handle certain memory\noperations, which could lead to a buffer overflow. A physically\nproximate attacker could possibly use this issue to compromise card\nmanagement operations during enrollment and modification. This issue only\naffected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and\nUbuntu 24.10. (CVE-2024-8443)\n","status":"published","published":"2025-03-12T05:37:20Z","modified":"2026-06-25T13:32:08.287860187Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
