{"id":"CVE-2024-8443","summary":"Libopensc: heap buffer overflow in openpgp driver when generating key","details":"A 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.","modified":"2026-08-12T03:51:37.173846570Z","published":"2024-09-10T13:16:51.146Z","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":{"cna_assigner":"redhat","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8443.json"},"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-8443"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8443.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8443"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2310494"},{"type":"PACKAGE","url":"https://github.com/OpenSC/OpenSC"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensc/opensc","events":[{"introduced":"fe857cc4c68da4873071f168c9aaf9860040ff4e"},{"last_affected":"fe857cc4c68da4873071f168c9aaf9860040ff4e"}],"database_specific":{"extracted_events":[{"introduced":"0.26.0"},{"last_affected":"0.26.0"}],"source":"AFFECTED_FIELD"}}],"versions":["0.26.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8443.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}