
CVE catalog
CVE-2021-42782
OpenSC vulnerabilities
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.78% · Oct 25, 2026
Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places 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 |
| Ubuntu | opensc | noble | 0.22.0-1 | fixed |
| Ubuntu | opensc | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | opensc-pkcs11 | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | fixed |
| Suse | opensc | linux enterprise server 12 sp5 | 0.13.0-3.25.1 | fixed |
| Suse | opensc | linux enterprise server for sap applications 12 sp5 | 0.13.0-3.25.1 | fixed |
| Ubuntu | opensc | pro | 0.19.0-2 | vulnerable |
| Ubuntu | opensc | pro | 0.20.0-1 | vulnerable |
| Ubuntu | opensc | pro | 0.20.0-2 | vulnerable |
| Ubuntu | opensc | pro | 0.20.0-3 | vulnerable |
| Ubuntu | opensc | pro | 0.20.0-3ubuntu0.1~esm1 | vulnerable |
| Ubuntu | opensc | pro | 0.20.0-3ubuntu0.1~esm2 | vulnerable |
| Ubuntu | opensc | pro | 0.20.0-3ubuntu0.1~esm3 | vulnerable |
| Ubuntu | opensc | pro | 0.20.0-3ubuntu0.1~esm4 | 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 |
| Ubuntu | opensc | deb | noble | 0.22.0-1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc | deb | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc-pkcs11 | deb | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Suse | opensc | rpm | linux enterprise server 12 sp5 | 0.13.0-3.25.1 | Not reported | SUSE-SU-2023:4065-1 | Not reported |
| Suse | opensc | rpm | linux enterprise server for sap applications 12 sp5 | 0.13.0-3.25.1 | Not reported | SUSE-SU-2023:4065-1 | Not reported |
| Ubuntu | opensc | deb | pro | 0.20.0-3ubuntu0.1~esm4 | Not reported | UBUNTU-CVE-2021-42782 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [opensc]Fixed
Details (2)
0.23.0-0.3+deb12u2· amd64 · bookwormFixed · Fixed:
0.22.0-1usn · opensc · debian · bookworm; usn · opensc · debian · 12
0.23.0-0.3+deb12u2· arm64 · bookwormFixed · Fixed:
0.22.0-1usn · opensc · debian · bookworm; usn · opensc · debian · 12
- [opensc-pkcs11]Fixed
Source package: [opensc]
Details (2)
0.23.0-0.3+deb12u2· amd64 · bookwormFixed · Fixed:
0.22.0-1usn · opensc · debian · bookworm; usn · opensc · debian · 12
0.23.0-0.3+deb12u2· arm64 · bookwormFixed · Fixed:
0.22.0-1usn · opensc · debian · bookworm; usn · opensc · debian · 12
[Debian 13 (Trixie)]
- [opensc]Fixed
Details (2)
0.26.1-2· amd64 · trixieFixed · Fixed:
0.22.0-1usn · opensc · debian · 13
0.26.1-2· arm64 · trixieFixed · Fixed:
0.22.0-1usn · opensc · debian · 13
- [opensc-pkcs11]Fixed
Source package: [opensc]
Details (2)
0.26.1-2· amd64 · trixieFixed · Fixed:
0.22.0-1usn · opensc · debian · 13
0.26.1-2· arm64 · trixieFixed · Fixed:
0.22.0-1usn · opensc · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_14835-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-42782]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4065-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-42782]
- [https://security-tracker.debian.org/tracker/CVE-2021-42782]
- [https://ubuntu.com/security/notices/USN-7346-1]
- [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] · [Ubuntu Security Notices (USN)]