Skip to content
OpenAdvisories
Medium · 4.5 CVE-2023-4535 EUVD-2023-54390GHSA-phh2-j3h6-vqr9

Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys

Published Nov 6, 2023 · Updated Nov 7, 2026 · Assigned by redhat

Description

An out-of-bounds read vulnerability was found in OpenSC packages within the MyEID driver when handling symmetric key encryption. Exploiting this flaw requires an attacker to have physical access to the computer and a specially crafted USB device or smart card. This flaw allows the attacker to manipulate APDU responses and potentially gain unauthorized access to sensitive data, compromising the system's security.

Affected products

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

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.23.0-2 —
Debian 13 opensc 0.23.0-2 —
Debian 12 opensc 0.23.0-0.3+deb12u1 —
ReleasePackageFixed inAdvisory
RHEL 9 opensc 0.23.0-3.el9_3 RHSA-2023:7879

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 opensc 0.23.0-3.el9_3 ALSA-2023:7879
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed opensc 0.23.0-3.1 openSUSE-SU-2024:13314-1
ReleasePackageFixed inAdvisory
Alpine v3.24 opensc 0.24.0-r0 —
Alpine v3.23 opensc 0.24.0-r0 —
Alpine v3.22 opensc 0.24.0-r0 —
Alpine v3.21 opensc 0.24.0-r0 —
Alpine v3.20 opensc 0.24.0-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 opensc 0.24.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 opensc 0.23.0-3.amzn2023.0.2 ALAS2023-2023-417

Azure Linux

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

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 opensc 0.23.0-3.el9_3 ELSA-2023-7879

Advisories 6

References