# CVE-2023-4535: Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys

- Priority: **Routine**
- Reason: Not severe (CVSS 4.5, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-11-06 · Modified: 2026-11-26
- Aliases: DEBIAN-CVE-2023-4535, ALPINE-CVE-2023-4535
- Record: https://cvemate.com/vulnerability/CVE-2023-4535 · JSON: https://cvemate.com/vulnerability/CVE-2023-4535/json

## Description

```text
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.
```

## Signals

- CVSS: 4.5 medium (v3.1, CVE.org) CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
- EPSS: 0.487%, percentile 43.583%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine opensc (Alpine Linux): \< 0.24.0-r0
- debian opensc (Debian): \< 0.23.0-0.3+deb12u1 \| \< 0.23.0-2
- fedoraproject fedora: 38 \| 39
- opensc\_project opensc: 0.23.0 \| 0.23.0:rc1 \| 0.23.0:rc2
- redhat enterprise\_linux: 9.0

## References

- <https://access.redhat.com/errata/RHSA-2023:7879>
- <https://access.redhat.com/security/cve/CVE-2023-4535>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2240914>
- <https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2>
- <https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651>
- <https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1>
- <https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/>
- <https://security-tracker.debian.org/tracker/CVE-2023-4535>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-4535>
- <https://security.alpinelinux.org/vuln/CVE-2023-4535>

---

Data as of 2026-12-05T13:33:39.241Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
