CVE-2021-42780

opensc: Use after return in insert_pin function

Published Apr 18, 2022 CVSS 3.1 · 5.3 Medium EPSS 2.2% KEV · Not listed
Description
A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3463-1 opensc security update
Debian DLA Debian DLA DLA-4004-1 opensc security update
EUVD EUVD EUVD-2021-29736 A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.
Ubuntu USN Ubuntu USN USN-7346-1 OpenSC vulnerabilities
Ubuntu USN Ubuntu USN USN-7346-3 OpenSC vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 3, 2025, 9:45 PM
Reserved
Oct 21, 2021, 12:00 AM
Status
Modified
Published
Apr 18, 2022, 5:15 PM
Modified
Jun 17, 2026, 4:10 AM
Severity
Low
Public date
Jan 9, 2021, 12:00 AM