CVE-2021-42781

Summary

CVECVE-2021-42781
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
DescriptionHeap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c 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
Operating System Redhat Enterprise Linux 7.0 All All All

References

ReferenceSourceLinkTags
oberthur: One more overlooked buffer overflow · OpenSC/OpenSC@5d4daf6 · GitHub MISC github.com
[SECURITY] [DLA 3463-1] opensc security update MLIST lists.debian.org
oberthur: Handle more memory issues during initialization · OpenSC/OpenSC@40c50a3 · GitHub MISC github.com
oberthur: Avoid two buffer overflows · OpenSC/OpenSC@17d8980 · GitHub MISC github.com
2016439 – (CVE-2021-42781) CVE-2021-42781 opensc: Heap buffer overflow in pkcs15-oberthur.c MISC bugzilla.redhat.com
OpenSC: Multiple Vulnerabilities (GLSA 202209-03) — Gentoo security GENTOO security.gentoo.org
oberthur: Handle 1B OIDs · OpenSC/OpenSC@cae5c71 · GitHub MISC github.com
oberthur: fixed Heap-buffer-overflow · OpenSC/OpenSC@05648b0 · 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

  • 184480 Debian Security Update for opensc (CVE-2021-42781)
  • 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)
  • 901194 Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9484)
  • 902298 Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9484-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