CVE-2021-42778

MEDIUM
5.3
CVSS Score
Published: April 18, 2022 at 04:20 PM UTC
Updated: June 17, 2026 at 04:10 AM UTC
3 products affected across 3 vendorsFedoraEnterprise LinuxOpenSC

Using opensc by N/A?

Get instant alerts when new vulnerabilities affect opensc - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 2%

Description

A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.22.00.22.0
Affected range stops below 0.22.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

x_refsource_MISCIssue TrackingMailing ListPatchThird Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185
x_refsource_MISCIssue TrackingPatchThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2016083
x_refsource_MISCPatchThird Party Advisory
https://github.com/OpenSC/OpenSC/commit/f015746d
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/202209-03
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-672CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card