CVE-2021-42782
Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.
02 Description
Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.78% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 85.9% of scored records. A rank, not a probability.
- NVD base score
- 5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-04-18 00:00Z4 YR AGO
- Last updated
- 2025-11-03 21:45Z11 MO AGO
- Reserved
- 2021-10-21
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.2
- Document digest
- 29f125a7967f35a8322d4d477d2b4562f46346d0ea3d63ece6b92fa75fb8cef5
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2016448
- github.comhttps://github.com/OpenSC/OpenSC/commit/78cdab94
- github.comhttps://github.com/OpenSC/OpenSC/commit/7114fb71
- github.comhttps://github.com/OpenSC/OpenSC/commit/1252aca9
- github.comhttps://github.com/OpenSC/OpenSC/commit/ae1cf0be
- github.comhttps://github.com/OpenSC/OpenSC/commit/456ac566
- security.gentoo.orgGLSA-202209-03https://security.gentoo.org/glsa/202209-03
- lists.debian.org[debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security updatehttps://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
07 Fixed in
Debian 12
- opensc Fixed in 0.22.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- opensc Fixed in 0.22.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- opensc Fixed in 0.22.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- opensc No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- opensc No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- opensc Fixed in 0.20.0-3ubuntu0.1~esm4Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.