CVE-2021-42780
A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.
02 Description
A use after return issue was found in Opensc before version 0.22.0 in insert_pin function 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.16% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 82.1% 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
- CWE-252Unchecked Return ValueBase
- Data version
- 5.2
- Document digest
- 347b9c1499514280292e12ac2b6986151772c88ee4416abbfe43059bbe314524
05 Affected products
06 References
- bugs.chromium.orghttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2016139
- github.comhttps://github.com/OpenSC/OpenSC/commit/5df913b7
- 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 Fixed in 0.15.0-1ubuntu1+esm2Available 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.
Ubuntu Pro 18.04 LTS
- opensc Fixed in 0.17.0-3ubuntu0.1~esm2Available 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.
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.