Skip to content
Fencer Vulns
medium 4.5

CVE-2023-4535 json

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

published 2023-11-06 3 y ago modified 2026-11-07 2 d ago also EUVD-2023-54390

cvss
4.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 9 0:0.23.0-3.el9_3
  • opensc Debian 12 0.23.0-0.3+deb12u1
  • opensc Debian 14, Debian 13 0.23.0-2

debian advisories DEBIAN-CVE-2023-4535

  • opensc RHEL 9 0.23.0-3.el9_3

red hat advisories RHSA-2023:7879

  • opensc openSUSE Tumbleweed 0.23.0-3.1

opensuse advisories openSUSE-SU-2024:13314-1

  • opensc AlmaLinux 9 0.23.0-3.el9_3

almalinux advisories ALSA-2023:7879

  • opensc Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 0.24.0-r0

alpine advisories ALPINE-CVE-2023-4535

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • opensc CBL-Mariner 2.0 0.23.0-2
  • opensc Azure Linux 3.0 0.25.1-3

azure linux advisories AZL-31945AZL-35076

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-4535 updated cvss 4.5

OpenSC: out-of-bounds read in MyEID driver handling encryption using symmetric keys

  • Red Hat Enterprise Linux BaseOS (v. 9) opensc 0.23.0-3.el9_3
    fixed: vendor fix RHSA-2023:7879
  • Red Hat Enterprise Linux 7 opensc Red Hat Enterprise Linux 8 opensc
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.5 CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
NVD 3.1 3.8 CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected products

  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.