Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.
Conclusion & alert: CVE-2021-42782 is rated Moderate Risk (50.7/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.67%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-07-05 | 2.60% | 2.67% | +0.08% |
| 2 | 2026-06-15 | 0.09% | 2.60% | +2.50% |
| 3 | 2025-11-21 | — | 0.09% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2021-42782: 1 source package rows (opensc); 6 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 6. | https://security.alpinelinux.org/vuln/CVE-2021-42782 |
debian
|
not yet assigned | CVE-2021-42782 not yet assigned priority: Debian including 1 source packages (opensc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-42782 |
gentoo
|
normal | CVE-2021-42782: 1 GLSA(s) (202209-03), 1 atom(s) (dev-libs/opensc); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-42782 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2021-42782 |
suse
|
high | CVE-2021-42782 severity important: SUSE including 19 source package names (libopensc2-0.11.6-5.27.14.1, libopensc2-32bit-0.11.6-5.27.14.1, …), 60 product×package rows across 47 product lines (HPE Helion OpenStack 8, SUSE CaaS Platform 4.0, … (47 product lines)): Fixed 59, Known Not Affected 1. | https://www.suse.com/security/cve/CVE-2021-42782/ |
ubuntu
|
medium | CVE-2021-42782 medium priority: Ubuntu including 1 source packages (opensc), 14 status rows across 14 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): ignored 8, not-affected 4, released 2. | https://ubuntu.com/security/CVE-2021-42782 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| opensc_project | opensc | < 0.22.0 | cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 33 | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2016448 | Issue Tracking Mailing List Patch Third Party Advisory |
| https://github.com/OpenSC/OpenSC/commit/1252aca9 | Patch Third Party Advisory |
| https://github.com/OpenSC/OpenSC/commit/456ac566 | Patch Third Party Advisory |
| https://github.com/OpenSC/OpenSC/commit/7114fb71 | Patch Third Party Advisory |
| https://github.com/OpenSC/OpenSC/commit/78cdab94 | Patch Third Party Advisory |
| https://github.com/OpenSC/OpenSC/commit/ae1cf0be | Patch Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html | |
| https://security.gentoo.org/glsa/202209-03 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html |