# CVE-2023-4535: opensc: The OpenSC set of libraries and utilities provides support for working with smart cards

CVE-2023-4535 is fixed in 3 products on 1 platform, first by ALAS2023-2023-417, released October 30, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-4535
- Priority: Routine
- CVSS: 4.5 (Moderate)
- EPSS: 0.0049
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 30, 2023

## Description

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.  Security Fix(es):  * OpenSC: Potential PIN bypass when card tracks its own login state (CVE-2023-40660)  * OpenSC: multiple memory issues with pkcs15-init (enrollment tool) (CVE-2023-40661)  * OpenSC: out-of-bounds read in MyEID driver handling encryption using symmetric keys (CVE-2023-4535)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | opensc Debian 12.15 (bookworm) | 0.23.0-0.3+deb12u1 | [DEBIAN-CVE-2023-4535](https://patchblox.com/security/data/fix/linux/debian-cve-2023-4535.md) | Nov 6, 2023 |
| Linux | opensc Debian 13.5 (trixie) | 0.23.0-2 | [DEBIAN-CVE-2023-4535](https://patchblox.com/security/data/fix/linux/debian-cve-2023-4535.md) | Nov 6, 2023 |
| Linux | opensc Debian 14 | 0.23.0-2 | [DEBIAN-CVE-2023-4535](https://patchblox.com/security/data/fix/linux/debian-cve-2023-4535.md) | Nov 6, 2023 |
| Linux | opensc RHEL 9 | 0:0.23.0-3.el9_3 | [RHSA-2023:7879](https://patchblox.com/security/data/fix/linux/rhsa-2023-7879.md) | Dec 19, 2023 |
| Linux | opensc almalinux 9 | 0.23.0-3.el9_3 | [ALSA-2023:7879](https://patchblox.com/security/data/fix/linux/alsa-2023-7879.md) | Dec 19, 2023 |
| Linux | opensc amzn 2023 | 0.23.0-3.amzn2023.0.2 | [ALAS2023-2023-417](https://patchblox.com/security/data/fix/linux/alas2023-2023-417.md) | Oct 30, 2023 |
| Linux | opensc ol 9 | 0:0.23.0-3.el9_3 | [ELSA-2023-7879](https://patchblox.com/security/data/fix/linux/elsa-2023-7879.md) | Dec 19, 2023 |
| Linux | opensc-debuginfo amzn 2023 | 0.23.0-3.amzn2023.0.2 | [ALAS2023-2023-417](https://patchblox.com/security/data/fix/linux/alas2023-2023-417.md) | Oct 30, 2023 |
| Linux | opensc-debugsource amzn 2023 | 0.23.0-3.amzn2023.0.2 | [ALAS2023-2023-417](https://patchblox.com/security/data/fix/linux/alas2023-2023-417.md) | Oct 30, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
