CVE-2021-42782Improper Restriction of Operations within the Bounds of a Memory Buffer in Project Opensc

Severity
5.3MEDIUMNVD
EPSS
0.1%
top 74.05%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 18
Latest updateApr 9

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitability: 3.9 | Impact: 1.4

Affected Packages3 packages

NVDopensc_project/opensc< 0.22.0
Debianopensc_project/opensc< 0.21.0-1+deb11u1+3
CVEListV5opensc_project/openscopensc 0.22.0

Also affects: Fedora 33

Patches

🔴Vulnerability Details

4
OSV
opensc vulnerabilities2025-03-12
GHSA
GHSA-xq25-8g7f-6hc5: Stack buffer overflow issues were found in Opensc before version 02022-04-19
OSV
CVE-2021-42782: Stack buffer overflow issues were found in Opensc before version 02022-04-18
CVEList
CVE-2021-42782: Stack buffer overflow issues were found in Opensc before version 02022-04-18

📋Vendor Advisories

6
Ubuntu
OpenSC vulnerabilities2025-04-09
Ubuntu
OpenSC vulnerabilities2025-03-12
Red Hat
opensc: Stack overflow vulnerability in OpenSC smart card middleware2023-08-22
Microsoft
Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.2022-04-12
Red Hat
opensc: Stack buffer overflow issues in various places2021-02-19
CVE-2021-42782 — Opensc Project Opensc vulnerability | cvebase