Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
Key facts
- Attack vector
- Physical
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | — | 0.23.0-3.el9_3 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 0.23.0-3.el9_3 Patch available CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:opensc_project:opensc:0.23.0:-:*:*:*:*:*:* | 0.23.0 | Vulnerable | OpenSC |
| cpe:2.3:a:opensc_project:opensc:0.23.0:rc1:*:*:*:*:*:* | 0.23.0 rc1 | Vulnerable | OpenSC |
| cpe:2.3:a:opensc_project:opensc:0.23.0:rc2:*:*:*:*:*:* | 0.23.0 rc2 | Vulnerable | OpenSC |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* | 39 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
- cpe:2.3:a:opensc_project:opensc:0.23.0:-:*:*:*:*:*:* Versions 0.23.0 Vulnerable ·OpenSC
- cpe:2.3:a:opensc_project:opensc:0.23.0:rc1:*:*:*:*:*:* Versions 0.23.0 rc1 Vulnerable ·OpenSC
- cpe:2.3:a:opensc_project:opensc:0.23.0:rc2:*:*:*:*:*:* Versions 0.23.0 rc2 Vulnerable ·OpenSC
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
Remediation
Red Hat 1 advisory
- RHSA-2023:7879 Released 2023-12-19 · Red Hat rating Moderateopensc security update
- Red Hat Enterprise Linux BaseOS (v. 9) opensc-0.23.0-3.el9_3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 — RHSA-2023:7879
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2023-21453 Opensc: potential pin bypass when card tracks its own login statePriority LOW 33
- TI-2023-21454 Opensc: multiple memory issues with pkcs15-init (enrollment tool)Priority LOW 31
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:7879 |
Not affected: 2 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2023-4535
- 2026-10-03 Alias added: GHSA-phh2-j3h6-vqr9
References
Patch 2
Advisory 3
More Red Hat Enterprise Linux vulnerabilities
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
Sources
- CVE-2023-4535 · CVE Program
- CVE-2023-4535 · NVD
- FIRST EPSS
- GHSA-phh2-j3h6-vqr9 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-4535 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences