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

- Severity: Medium 4.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-02)
- Published: 2023-11-06T16:57:45.785Z
- Modified: 2026-11-26T11:44:21.454Z
- Weaknesses: CWE-125
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- opensc: no versions given (not affected: from 0:0.23.0-3.el9_3 before *)
- opensc_project opensc: 0.23.0
- fedoraproject fedora: 38; 39
- redhat enterprise_linux: 9.0

## Every score

- redhat: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 3.8 Low `CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://access.redhat.com/errata/RHSA-2023:7879> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-4535> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2240914> (issue-tracking)
- <https://github.com/OpenSC/OpenSC/commit/f1993dc4e0b33050b8f72a3558ee88b24c4063b2> (patch)
- <https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651> (issue-tracking, patch)
- <https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1> (release-notes)
- <https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories> (vendor-advisory)
- <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/>

## Sources

- CVE List: [CVE-2023-4535](https://www.cve.org/CVERecord?id=CVE-2023-4535), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-4535](https://nvd.nist.gov/vuln/detail/CVE-2023-4535), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2023-4535 · Whole record: https://cve.day/CVE-2023-4535.json · Rebuilt by cve.day 2026-11-26T11:52:21.385Z
