{"schemaVersion":4,"id":"CVE-2024-8443","aliases":["UBUNTU-CVE-2024-8443","DEBIAN-CVE-2024-8443","ALPINE-CVE-2024-8443"],"status":"published","duplicateOf":null,"title":"Libopensc: heap buffer overflow in openpgp driver when generating key","description":"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.","dates":{"published":"2024-09-10T13:16:51.146Z","modified":"2026-11-25T14:26:35.997Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.9,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.9,"severity":"low","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":2.9,"severity":"low","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":1,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":2.9,"severity":"low","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":1,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.9,"severity":"low","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":2.9,"severity":"low","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":1,"impact":4.2,"computed":true}]},"epss":{"probability":0.00349,"percentile":0.30552,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.0010000000000000026,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00348},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00321,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00349,"percentile":0.30552}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00349,"percentile":0.30552}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"The product writes past the end of a buffer that was allocated on the heap.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"opensc","name":"opensc","label":"opensc","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/opensc","purlType":"apk","versions":[{"text":"< 0.26.0-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.26.0-r0","endInclusive":false}}],"versionsText":"< 0.26.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"opensc","name":"opensc","label":"opensc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/opensc","purlType":"deb","versions":[{"text":"< 0.23.0-0.3+deb12u2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.23.0-0.3+deb12u2","endInclusive":false}},{"text":"< 0.25.1-2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.25.1-2.1","endInclusive":false}}],"versionsText":"< 0.23.0-0.3+deb12u2 | < 0.25.1-2.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opensc","name":"opensc","label":"opensc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opensc","purlType":"deb","versions":[{"text":"< 0.20.0-3ubuntu0.1~esm4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.20.0-3ubuntu0.1~esm4","endInclusive":false}},{"text":"< 0.22.0-1ubuntu2+esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.22.0-1ubuntu2+esm1","endInclusive":false}},{"text":"< 0.25.0~rc1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.25.0~rc1-1ubuntu0.1~esm1","endInclusive":false}}],"versionsText":"< 0.20.0-3ubuntu0.1~esm4 | < 0.22.0-1ubuntu2+esm1 | < 0.25.0~rc1-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"opensc_project","product":"opensc","name":"opensc","label":"opensc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"unspecified"}}],"versionsText":"na","eol":null,"hubHref":"/vendor/opensc_project/opensc"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"7.0"}},{"text":"8.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"8.0"}},{"text":"9.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"9.0"}}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (ELS)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"7.9"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-8443","label":"access.redhat.com/security/cve/CVE-2024-8443","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2310494","label":"bugzilla.redhat.com/show_bug.cgi?id=2310494","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html","label":"lists.debian.org/debian-lts-announce/2024/12/msg00026.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2024-8443","label":"ubuntu.com/security/CVE-2024-8443","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-8443","label":"www.cve.org/CVERecord?id=CVE-2024-8443","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/OpenSC/OpenSC/wiki/CVE-2024-8443","label":"github.com/OpenSC/OpenSC/wiki/CVE-2024-8443","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7346-1","label":"ubuntu.com/security/notices/USN-7346-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7346-3","label":"ubuntu.com/security/notices/USN-7346-3","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-8443","label":"security-tracker.debian.org/tracker/CVE-2024-8443","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8443","label":"nvd.nist.gov/vuln/detail/CVE-2024-8443","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-8443","label":"security.alpinelinux.org/vuln/CVE-2024-8443","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4004-1","MGASA-2025-0096","OPENSUSE-SU-2024:14382-1","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","USN-7346-1","USN-7346-3"],"duplicates":[],"related":["OPENSUSE-SU-2024:14382-1","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","USN-7346-1","USN-7346-3"]},"timeline":[{"kind":"published","date":"2024-09-10T13:16:51.146Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T14:26:35.997Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 2.9, physical access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,29],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00349,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T14:26:35.997Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.9,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-25T14:26:35.997Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.9,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-25T14:26:35.997Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.9,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T14:26:35.997Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.9,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_alpine","date":"2026-11-25T14:26:35.997Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.9,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-09-10T14:47:31.467Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00349,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:33:42.072Z","stale":false,"partial":false}}