CVEfocus › CVE database › CVE-2023-4535

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

CVSS 4.5 MediumEPSS 0.5% (higher than 42% of CVEs)Published 2023-11-06Updated 2026-11-07Assigner: redhat

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.

CWE-125

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
2Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04openscFix pending
Ubuntu 14.04openscFix pending
Debian 14openscFixed0.23.0-2DEBIAN-CVE-2023-4535
Debian 13openscFixed0.23.0-2DEBIAN-CVE-2023-4535
Debian 12openscFixed0.23.0-0.3+deb12u1DEBIAN-CVE-2023-4535
Red Hat Enterprise Linux 9openscFixed0:0.23.0-3.el9_3RHSA-2023:7879
Red Hat Enterprise Linux 8openscNot affected
Red Hat Enterprise Linux 7openscNot affected
AlmaLinux 9openscFixed0.23.0-3.el9_3ALSA-2023:7879
Alpine Linux 3.24openscFixed0.24.0-r0ALPINE-CVE-2023-4535
Alpine Linux 3.23openscFixed0.24.0-r0ALPINE-CVE-2023-4535
Alpine Linux 3.22openscFixed0.24.0-r0ALPINE-CVE-2023-4535
Alpine Linux 3.21openscFixed0.24.0-r0ALPINE-CVE-2023-4535
Alpine Linux 3.20openscFixed0.24.0-r0ALPINE-CVE-2023-4535
Alpine Linux 3.19openscFixed0.24.0-r0ALPINE-CVE-2023-4535

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.