Skip to content
OpenAdvisories
Medium · 5.6 CVE-2023-5992 EUVD-2023-58259GHSA-554m-v42f-hcq9

Opensc: side-channel leaks while stripping encryption pkcs#1 padding

Published Jan 31, 2024 · Updated Nov 5, 2026 · Assigned by redhat

Description

A vulnerability was found in OpenSC where PKCS#1 encryption padding removal is not implemented as side-channel resistant. This issue may result in the potential leak of private data.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 7 — —

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.25.0~rc1-1 —
Debian 13 opensc 0.25.0~rc1-1 —
Debian 12 opensc 0.23.0-0.3+deb12u2 —
Debian 11 opensc 0.21.0-1+deb11u1 DLA-4004-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS opensc 0.25.0~rc1-1ubuntu0.1~esm1 USN-7346-1
Ubuntu Pro 22.04 LTS opensc 0.22.0-1ubuntu2+esm1 USN-7346-1
Ubuntu Pro 20.04 LTS opensc 0.20.0-3ubuntu0.1~esm2 USN-7346-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS opensc 0.17.0-3ubuntu0.1~esm2 USN-7346-1
Ubuntu Pro 16.04 LTS opensc 0.15.0-1ubuntu1+esm2 USN-7346-1
ReleasePackageFixed inAdvisory
RHEL 9 opensc 0.23.0-4.el9_3 RHSA-2024:0966
RHEL 8 opensc 0.20.0-8.el8_9 RHSA-2024:0967

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 opensc 0.23.0-4.el9_3 ALSA-2024:0966
AlmaLinux 8 opensc 0.20.0-8.el8_9 ALSA-2024:0967

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 opensc 0.23.0-4.el9_3 RLSA-2024:0966
Rocky Linux 8 opensc 0.20.0-8.el8_9 RLSA-2024:0967
ReleasePackageFixed inAdvisory
SLES 15 SP7 opensc 0.22.0-150600.11.6.1 SUSE-SU-2025:02754-1
SLES 15 SP6 opensc 0.22.0-150600.11.6.1 SUSE-SU-2025:02754-1
SLES 15 SP5 opensc 0.22.0-150400.3.9.1 SUSE-SU-2024:1402-1
SLES 12 SP5 opensc 0.13.0-3.28.1 SUSE-SU-2024:1625-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 opensc 0.13.0-3.28.1 SUSE-SU-2024:1625-1
SLE Micro 6.1 opensc 0.24.0-slfo.1.1_2.1 SUSE-SU-2025:20671-1
SLE Micro 6.0 opensc 0.24.0-4.1 SUSE-SU-2025:20530-1
SLE Micro 5.5 opensc 0.22.0-150400.3.9.1 SUSE-SU-2024:1402-2, SUSE-SU-2024:1402-1
SLE Micro 5.4 opensc 0.22.0-150400.3.9.1 SUSE-SU-2024:1402-1
SLE Micro 5.3 opensc 0.22.0-150400.3.9.1 SUSE-SU-2024:1402-1
SLE Micro 5.2 opensc 0.19.0-150100.3.28.1 SUSE-SU-2024:1773-1
SLE Micro 5.1 opensc 0.19.0-150100.3.28.1 SUSE-SU-2024:1773-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 opensc 0.22.0-150600.11.6.1 SUSE-SU-2025:02754-1
openSUSE Leap 15.5 opensc 0.22.0-150400.3.9.1 SUSE-SU-2024:1402-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 opensc 0.22.0-150400.3.9.1 SUSE-SU-2024:1402-1
openSUSE Leap Micro 5.3 opensc 0.22.0-150400.3.9.1 SUSE-SU-2024:1402-1
ReleasePackageFixed inAdvisory
Alpine v3.24 opensc 0.25.1-r0 —
Alpine v3.23 opensc 0.25.1-r0 —
Alpine v3.22 opensc 0.25.1-r0 —
Alpine v3.21 opensc 0.25.1-r0 —
Alpine v3.20 opensc 0.25.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 opensc 0.24.0-1.amzn2023.0.3 ALAS2023-2024-580
Amazon Linux 2 opensc 0.19.0-6.amzn2.0.1 ALAS2-2024-2566

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 opensc 0.25.1-3 —
Azure Linux 2 (CBL-Mariner) opensc 0.23.0-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 opensc 0.23.0-4.el9_3 ELSA-2024-0966
Oracle Linux 8 opensc 0.20.0-8.el8_9 ELSA-2024-0967

Advisories 21

References