CVE-2021-42782

Summary

CVECVE-2021-42782
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-04-18 17:15:00 UTC
Updated2023-06-21 02:15:00 UTC
DescriptionStack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 33 All All All
Application Opensc Project Opensc All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 3463-1] opensc security update MLIST lists.debian.org
2016448 – (CVE-2021-42782) CVE-2021-42782 opensc: Stack buffer overflow issues in various places MISC bugzilla.redhat.com
tcos: prevent out of bounds read · OpenSC/OpenSC@78cdab9 · GitHub MISC github.com
iasecc: Prevent stack buffer overflow when empty ACL is returned · OpenSC/OpenSC@ae1cf0b · GitHub MISC github.com
OpenSC: Multiple Vulnerabilities (GLSA 202209-03) — Gentoo security GENTOO security.gentoo.org
PIV Improved parsing of data from the card · OpenSC/OpenSC@456ac56 · GitHub MISC github.com
cardos: Correctly calculate the left bytes to avoid buffer overrun · OpenSC/OpenSC@1252aca · GitHub MISC github.com
coolkey: Initialize potentially uninitialized memory · OpenSC/OpenSC@7114fb7 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 182321 Debian Security Update for opensc (CVE-2021-42782)
  • 355552 Amazon Linux Security Advisory for opensc : ALAS2-2023-2102
  • 6000071 Debian Security Update for opensc (DLA 3463-1)
  • 710618 Gentoo Linux OpenSC Multiple Vulnerabilities (GLSA 202209-03)
  • 751293 SUSE Enterprise Linux Security Update for opensc (SUSE-SU-2021:3582-1)
  • 751951 SUSE Enterprise Linux Security Update for opensc (SUSE-SU-2022:1041-1)
  • 752023 SUSE Enterprise Linux Security Update for opensc (SUSE-SU-2022:1156-1)
  • 755078 SUSE Enterprise Linux Security Update for opensc (SUSE-SU-2023:4065-1)
  • 901758 Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9485)
  • 902311 Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9485-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report