{"id":"CVE-2024-45619","summary":"Libopensc: incorrect handling length of buffers or files in libopensc","details":"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.","modified":"2026-05-18T05:58:58.377429049Z","published":"2024-09-03T21:21:39.080Z","related":["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","openSUSE-SU-2024:14382-1"],"database_specific":{"cwe_ids":["CWE-120"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45619.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-45619"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45619.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45619"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2309288"},{"type":"PACKAGE","url":"https://github.com/OpenSC/OpenSC"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensc/opensc","events":[{"introduced":"0"},{"fixed":"fe857cc4c68da4873071f168c9aaf9860040ff4e"}],"database_specific":{"cpe":"cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.26.0"}],"source":"CPE_FIELD"}}],"versions":["0.26.0-rc1","0.25.0","0.25.0-rc1","0.24.0","0.24.0-rc2","0.24.0-rc1","0.23.0","0.23.0-rc2","0.23.0-rc1","0.22.0","0.22.0-rc2","0.22.0-rc1","0.21.0","0.21.0-rc2","0.21.0-rc1","0.20.0","0.20.0-rc4","0.20.0-rc3","0.20.0-rc2","0.20.0-rc1","0.19.0","0.19.0-rc1","0.18.0","0.18.0-rc2","0.18.0-rc1","0.17.0","0.17.0-rc2","0.17.0-rc1","0.16.0","v0.16.0-pre1","0.15.0","0.14.0","0.14.0rtm","0.14.0rc2","0.13.0","0.13.0rc1","0.13.0pre1","v0.12.2","0.12.2","0.12.2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45619.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}