CVE-2021-42781
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.
02 Description
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.
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.87% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 86.7% 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:45Z12 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
- 5db1566c0015fbdb4fb2508af627c0cdac3714392173601914ef2c508f9f2988
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2016439
- github.comhttps://github.com/OpenSC/OpenSC/commit/17d8980c
- github.comhttps://github.com/OpenSC/OpenSC/commit/40c50a3a
- github.comhttps://github.com/OpenSC/OpenSC/commit/05648b06
- github.comhttps://github.com/OpenSC/OpenSC/commit/5d4daf6c
- github.comhttps://github.com/OpenSC/OpenSC/commit/cae5c71f
- 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.
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.