Skip to content
OpenAdvisories
Unscored CVE-2021-42781 EUVD-2021-29737GHSA-93j9-4rqq-x6gr

Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the…

Published Apr 18, 2022 · Updated Nov 3, 2025 · Assigned by redhat

Description

Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.

Affected products

VendorProductAffectedFixed
— opensc opensc 0.22.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 opensc 0.22.0-1 —
Debian 13 opensc 0.22.0-1 —
Debian 12 opensc 0.22.0-1 —
Debian 11 opensc 0.21.0-1+deb11u1 DLA-4004-1
Debian 10 opensc 0.19.0-1+deb10u2 DLA-3463-1
ReleasePackageFixed inAdvisory
SLES 15 SP3 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1
SLES 15 SP1 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1
SLES 15 opensc 0.18.0-150000.3.23.1 SUSE-SU-2022:1041-1
SLES 12 SP5 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SLES 12 SP4 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SLES 12 SP2 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SLES for SAP 15 SP1 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1
SLES for SAP 15 opensc 0.18.0-150000.3.23.1 SUSE-SU-2022:1041-1
SLES for SAP 12 SP5 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SLES for SAP 12 SP4 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SLES for SAP 12 SP3 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SLE Real Time 15 SP2 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1
SLE Micro 5.1 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1
SLE HPC 15 SP1 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1
SLE HPC 15 opensc 0.18.0-150000.3.23.1 SUSE-SU-2022:1041-1
SUSE OpenStack Cloud Crowbar 9 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SUSE OpenStack Cloud Crowbar 8 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SUSE OpenStack Cloud 9 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SUSE OpenStack Cloud 8 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SUSE HPE Helion OpenStack 8 opensc 0.13.0-3.19.1 SUSE-SU-2021:3582-1
SUSE Enterprise Storage 6 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed opensc 0.22.0-1.1 openSUSE-SU-2024:11613-1
openSUSE Leap 15.3 opensc 0.19.0-150100.3.16.1 SUSE-SU-2022:1156-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 opensc 0.19.0-5.amzn2 ALAS2-2023-2102

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) opensc 0.22.0-1 —

Advisories 8

References