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.

Published: 2023-11-06 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-4535 is rated Low Risk (33.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.23%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-4535

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-01-20 0.26% 0.23% -0.03%
2 2026-01-15 0.24% 0.26% +0.02%
3 2025-12-22 0.24%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-4535

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.5 3.1 MEDIUM
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L Click to expand
Attack vector (AV:P)
Hands-on access—USB, keyboard, opening the case—not something you do purely over the wire.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
0.4 3.7 [email protected]
3.8 3.1 LOW
CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:P)
Hands-on access—USB, keyboard, opening the case—not something you do purely over the wire.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
0.4 3.4 [email protected]

Weakness enumeration for CVE-2023-4535

OS Trackers for CVE-2023-4535

vendor priority summary link
alpine CVE-2023-4535: 1 source package rows (opensc); 12 state rows across 6 repos (3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 5, open 7. https://security.alpinelinux.org/vuln/CVE-2023-4535
debian unimportant CVE-2023-4535 unimportant priority: Debian including 1 source packages (opensc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-4535
gentoo normal CVE-2023-4535: 1 GLSA(s) (202412-15), 1 atom(s) (dev-libs/opensc); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-4535
redhat low https://access.redhat.com/security/cve/CVE-2023-4535
suse medium CVE-2023-4535 severity moderate: SUSE including 6 source package names (opensc, opensc-0.23.0-3.1, opensc-0.23.0-3.el9_3, opensc-0.24.0-2.1, opensc-0.24.0-slfo.1.1_1.2, opensc-0.26.1-160000.2.2), 41 product×package rows across 41 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 7.1, … (41 product lines)): Known Not Affected 36, Fixed 5. https://www.suse.com/security/cve/CVE-2023-4535/
ubuntu medium CVE-2023-4535 medium priority: Ubuntu including 1 source packages (opensc), 10 status rows across 10 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, trusty, upstream, xenial): not-affected 6, ignored 3, released 1. https://ubuntu.com/security/CVE-2023-4535

Affected software / configurations for CVE-2023-4535

Vendor Product Version Raw CPE
opensc_project opensc 0.23.0 cpe:2.3:a:opensc_project:opensc:0.23.0:-:*:*:*:*:*:*
opensc_project opensc 0.23.0 cpe:2.3:a:opensc_project:opensc:0.23.0:rc1:*:*:*:*:*:*
opensc_project opensc 0.23.0 cpe:2.3:a:opensc_project:opensc:0.23.0:rc2:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
redhat enterprise_linux 9.0 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

References for CVE-2023-4535

cvelogic Threat Intelligence