CVE-2021-42778

Summary

CVECVE-2021-42778
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-04-18 17:15:00 UTC
Updated2022-09-29 15:59:00 UTC
DescriptionA heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.

Risk And Classification

Problem Types: CWE-415

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
Operating System Redhat Enterprise Linux 8.0 All All All

References

ReferenceSourceLinkTags
idprime: Use temporary variable instead of messing up the passed one · OpenSC/OpenSC@f015746 · GitHub MISC github.com
28185 - oss-fuzz - OSS-Fuzz: Fuzzing the planet - Monorail MISC bugs.chromium.org
2016083 – (CVE-2021-42778) CVE-2021-42778 opensc: Heap double free in sc_pkcs15_free_tokeninfo MISC bugzilla.redhat.com
OpenSC: Multiple Vulnerabilities (GLSA 202209-03) — Gentoo security GENTOO security.gentoo.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184578 Debian Security Update for opensc (CVE-2021-42778)
  • 710618 Gentoo Linux OpenSC Multiple Vulnerabilities (GLSA 202209-03)
  • 901234 Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9481)
  • 902294 Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (9481-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