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

Summary

CVECVE-2023-4535
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-11-06 17:15:12 UTC
Updated2026-11-07 05:17:56 UTC
DescriptionAn 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary3.8LOWCVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
3.1[email protected]Secondary4.5MEDIUMCVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
3.1CNACVSS4.5MEDIUMCVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Physical
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

Additional Advisory Data

SourceTimeEvent
CNA2023-09-27T00:00:00.000ZReported to Red Hat.
CNA2023-09-25T00:00:00.000ZMade 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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report