CVE-2023-4535
Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
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.
Attack profile
How easy it is to exploit
- Attack vector
- Physical
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.5
Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
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.
- Record
CVE-2023-4535- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L - Weakness
- CWE-125
- Updated
- 2026-11-07
EUVDEUVD-2023-54390
4.5
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.
- Record
EUVD-2023-54390- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L - Updated
- 2026-11-07
GitHub AdvisoriesGHSA-phh2-j3h6-vqr9
4.5
An out-of-bounds read vulnerability was found in OpenSC packages within the MyEID driver when...
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.
- Record
GHSA-phh2-j3h6-vqr9- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
4.5
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.
- Record
CVE-2023-4535- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L - CVSS 3.1
- 3.8 Low
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-125
- Updated
- 2026-11-07
OSVALPINE-CVE-2023-4535
3.8
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.
- Record
ALPINE-CVE-2023-4535- CVSS 3.1
- 3.8 Low
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-03
OSVAZL-31945
3.8
CVE-2023-4535 affecting package opensc for versions less than 0.23.0-2
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.
- Record
AZL-31945- CVSS 3.1
- 3.8 Low
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Show 6 moreShow less
OSVAZL-35076
3.8
CVE-2023-4535 affecting package opensc for versions less than 0.25.1-3
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.
- Record
AZL-35076- CVSS 3.1
- 3.8 Low
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSV
4.5
Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
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.
- Record
CVE-2023-4535- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-4535
3.8
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.
- Record
DEBIAN-CVE-2023-4535- CVSS 3.1
- 3.8 Low
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-07
OSVRHSA-2023:7879
6.6
Red Hat Security Advisory: opensc security update
- Record
RHSA-2023:7879- CVSS 3.1
- 6.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2023:7879 No score
Moderate: opensc security update
The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.
Security Fix(es):
- OpenSC: Potential PIN bypass when card tracks its own login state (CVE-2023-40660)
- OpenSC: multiple memory issues with pkcs15-init (enrollment tool) (CVE-2023-40661)
- OpenSC: out-of-bounds read in MyEID driver handling encryption using symmetric keys (CVE-2023-4535)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:7879- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13314-1 No score
opensc-0.23.0-3.1 on GA media
These are all security issues fixed in the opensc-0.23.0-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13314-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openscAlpine:v3.19 |
before 0.24.0-r0 | 0.24.0-r0 |
openscAlpine:v3.20 |
before 0.24.0-r0 | 0.24.0-r0 |
openscAlpine:v3.21 |
before 0.24.0-r0 | 0.24.0-r0 |
openscAlpine:v3.22 |
before 0.24.0-r0 | 0.24.0-r0 |
openscAlpine:v3.23 |
before 0.24.0-r0 | 0.24.0-r0 |
openscAlpine:v3.24 |
before 0.24.0-r0 | 0.24.0-r0 |
openscAlmaLinux:9 From an advisory covering 3 CVEs |
before 0.23.0-3.el9_3 | 0.23.0-3.el9_3 |
openscAzure Linux:2 |
before 0.23.0-2 | 0.23.0-2 |
openscAzure Linux:3 |
before 0.25.1-3 | 0.25.1-3 |
openscDebian:12 |
before 0.23.0-0.3+deb12u1, plus listed versions 0.23.0-0.3 |
0.23.0-0.3+deb12u1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openscDebian:13 |
before 0.23.0-2 | 0.23.0-2 |
openscDebian:14 |
before 0.23.0-2 | 0.23.0-2 |
openscRed Hat:enterprise_linux:9::baseos From an advisory covering 3 CVEs |
before 0:0.23.0-3.el9_3 | 0:0.23.0-3.el9_3 |
opensc-debuginfoRed Hat:enterprise_linux:9::baseos From an advisory covering 3 CVEs |
before 0:0.23.0-3.el9_3 | 0:0.23.0-3.el9_3 |
opensc-debugsourceRed Hat:enterprise_linux:9::baseos From an advisory covering 3 CVEs |
before 0:0.23.0-3.el9_3 | 0:0.23.0-3.el9_3 |
openscopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 0.23.0-3.1 | 0.23.0-3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-4535 is a medium vulnerability (CVSS 4.5) in Opensc Project Opensc, published November 6, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in opensc 0.24.0-r0.
References
access.redhat.com/errata/RHSA-2023:7879
access.redhat.com/security/cve/CVE-2023-4535
bugzilla.redhat.com/show_bug.cgi?id=2240914
github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2
github.com/OpenSC/OpenSC/issues/2792
github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
Show 27 moreShow less
github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE
lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP
nvd.nist.gov/vuln/detail/CVE-2023-4535
github.com/advisories/GHSA-phh2-j3h6-vqr9
security.alpinelinux.org/vuln/CVE-2023-4535
access.redhat.com/security/cve/CVE-2023-40660
access.redhat.com/security/cve/CVE-2023-40661
bugzilla.redhat.com/2240912
bugzilla.redhat.com/2240913
bugzilla.redhat.com/2240914
errata.almalinux.org/9/ALSA-2023-7879.html
access.redhat.com/downloads/content/package-browser
github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4535.json
security-tracker.debian.org/tracker/CVE-2023-4535
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2240912
bugzilla.redhat.com/show_bug.cgi?id=2240913
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_7879.json
cve.org/CVERecord?id=CVE-2023-4535
cve.org/CVERecord?id=CVE-2023-40660
nvd.nist.gov/vuln/detail/CVE-2023-40660
cve.org/CVERecord?id=CVE-2023-40661
nvd.nist.gov/vuln/detail/CVE-2023-40661
suse.com/security/cve/CVE-2023-40660
suse.com/security/cve/CVE-2023-40661
suse.com/security/cve/CVE-2023-4535