Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
Summary
| CVE | CVE-2023-4535 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-11-06 17:15:12 UTC |
| Updated | 2026-11-07 05:17:56 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 3.8 LOW from [email protected]
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS: 0.004870000 probability, percentile 0.422100000 (date 2026-11-08)
Problem Types: CWE-125 | CWE-125 Out-of-bounds Read
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 3.8 | LOW | CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| 3.1 | [email protected] | Secondary | 4.5 | MEDIUM | CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L |
| 3.1 | CNA | CVSS | 4.5 | MEDIUM | CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
PhysicalAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 38 | All | All | All |
| Operating System | Fedoraproject | Fedora | 39 | All | All | All |
| Application | Opensc Project | Opensc | 0.23.0 | - | All | All |
| Application | Opensc Project | Opensc | 0.23.0 | rc1 | All | All |
| Application | Opensc Project | Opensc | 0.23.0 | rc2 | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:0.23.0-3.el9_3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| 2240914 – (CVE-2023-4535) CVE-2023-4535 OpenSC: out-of-bounds read in MyEID driver handling encryption using symmetric keys | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking |
| New release 0.24.0 · Issue #2792 · OpenSC/OpenSC · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Issue Tracking, Patch |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| access.redhat.com/errata/RHSA-2023:7879 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| OpenSC security advisories · OpenSC/OpenSC Wiki · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Vendor Advisory |
| myeid: fixed CID 380538 Out-of-bounds read (OVERRUN) · OpenSC/OpenSC@f1993dc · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| Release 0.24.0-rc1 · OpenSC/OpenSC · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-09-27T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-09-25T00:00:00.000Z | Made public. |
Legacy QID Mappings
- 161246 Oracle Enterprise Linux Security Update for opensc (ELSA-2023-7879)
- 242627 Red Hat Update for opensc (RHSA-2023:7879)
- 284825 Fedora Security Update for opensc (FEDORA-2023-c7e4c9af51)
- 285094 Fedora Security Update for opensc (FEDORA-2023-a854153d7a)
- 356637 Amazon Linux Security Advisory for opensc : ALAS2023-2023-417
- 506145 Alpine Linux Security Update for opensc
- 907691 Common Base Linux Mariner (CBL-Mariner) Security Update for opensc (31945-1)
- 941511 AlmaLinux Security Update for opensc (ALSA-2023:7879)