# CVE-2024-8443: Libopensc: heap buffer overflow in openpgp driver when generating key

- Priority: **Routine**
- Reason: Not severe (CVSS 2.9, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-10 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2024-8443, DEBIAN-CVE-2024-8443, ALPINE-CVE-2024-8443
- Record: https://cvemate.com/vulnerability/CVE-2024-8443 · JSON: https://cvemate.com/vulnerability/CVE-2024-8443/json

## Description

```text
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.
```

## Signals

- CVSS: 2.9 low (v3.1, CVE.org) CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- EPSS: 0.349%, percentile 30.552%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine opensc (Alpine Linux): \< 0.26.0-r0
- debian opensc (Debian): \< 0.23.0-0.3+deb12u2 \| \< 0.25.1-2.1
- ubuntu opensc (Ubuntu): \< 0.20.0-3ubuntu0.1~esm4 \| \< 0.22.0-1ubuntu2+esm1 \| \< 0.25.0~rc1-1ubuntu0.1~esm1
- opensc\_project opensc: na
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0

## References

- <https://access.redhat.com/security/cve/CVE-2024-8443>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2310494>
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html>
- <https://ubuntu.com/security/CVE-2024-8443>
- <https://www.cve.org/CVERecord?id=CVE-2024-8443>
- <https://github.com/OpenSC/OpenSC/wiki/CVE-2024-8443>
- <https://ubuntu.com/security/notices/USN-7346-1>
- <https://ubuntu.com/security/notices/USN-7346-3>
- <https://security-tracker.debian.org/tracker/CVE-2024-8443>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8443>
- <https://security.alpinelinux.org/vuln/CVE-2024-8443>

---

Data as of 2026-12-05T13:33:42.072Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
