
CVE catalog
CVE-2021-42781
opensc: CVE-2021-42781
- Severity
- High · CVSS 7.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.87% · Oct 25, 2026
Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | opensc | sid | 0.27.1-3 | fixed |
| Debian | opensc | forky | 0.27.1-3 | fixed |
| Debian | opensc | trixie | 0.26.1-2 | fixed |
| Debian | opensc | bookworm | 0.23.0-0.3+deb12u2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | opensc | source | sid | 0.22.0-1 | not yet assigned | Not reported | Not reported |
| Debian | opensc | source | forky | 0.22.0-1 | not yet assigned | Not reported | Not reported |
| Debian | opensc | source | trixie | 0.22.0-1 | not yet assigned | Not reported | Not reported |
| Debian | opensc | source | bookworm | 0.22.0-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [opensc]Fixed
Details (2)
0.23.0-0.3+deb12u2· amd64 · bookwormFixed · Fixed:
0.22.0-1dsa · opensc · debian · bookworm; dsa · opensc · debian · 12
0.23.0-0.3+deb12u2· arm64 · bookwormFixed · Fixed:
0.22.0-1dsa · opensc · debian · bookworm; dsa · opensc · debian · 12
- [opensc-pkcs11]Fixed
Source package: [opensc]
Details (2)
0.23.0-0.3+deb12u2· amd64 · bookwormFixed · Fixed:
0.22.0-1dsa · opensc · debian · bookworm; dsa · opensc · debian · 12
0.23.0-0.3+deb12u2· arm64 · bookwormFixed · Fixed:
0.22.0-1dsa · opensc · debian · bookworm; dsa · opensc · debian · 12
[Debian 13 (Trixie)]
- [opensc]Fixed
Details (2)
0.26.1-2· amd64 · trixieFixed · Fixed:
0.22.0-1dsa · opensc · debian · 13
0.26.1-2· arm64 · trixieFixed · Fixed:
0.22.0-1dsa · opensc · debian · 13
- [opensc-pkcs11]Fixed
Source package: [opensc]
Details (2)
0.26.1-2· amd64 · trixieFixed · Fixed:
0.22.0-1dsa · opensc · debian · 13
0.26.1-2· arm64 · trixieFixed · Fixed:
0.22.0-1dsa · opensc · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_3582-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-42781]
- [https://security-tracker.debian.org/tracker/CVE-2021-42781]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1307.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]