CVE-2023-4535
published medium CVSS 3.1 · 4.5Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 9 | opensc0:0.23.0-3.el9_3 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 7, 8 | opensc | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-417 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | opensc | Advisory build | 0.23.0-3.el9_3 | ALSA-2023:7879 |
| Alpine Linux | edge | opensc | Fixed | 0.24.0-r0 | Package fix record |
| Oracle Linux | 9 | openscaarch64 | Advisory build | 0:0.23.0-3.el9_3 | ELSA-2023-7879 |
| Red Hat Enterprise Linux | RHEL-9 | openscaarch64 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
Show 29 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | openscaarch64 | Advisory build | 0.23.0-3.1 | OPENSUSE-SU-2024:13314-1 |
| Amazon Linux | AL2023 | openscaarch64 | Listed in advisory | Not stated | ALAS2023-2023-417 |
| Alpine Linux | v3.19 | opensc | Fixed | 0.24.0-r0 | Package fix record |
| Alpine Linux | v3.20 | opensc | Fixed | 0.24.0-r0 | Package fix record |
| Alpine Linux | v3.21 | opensc | Fixed | 0.24.0-r0 | Package fix record |
| Alpine Linux | v3.22 | opensc | Fixed | 0.24.0-r0 | Package fix record |
| Alpine Linux | v3.23 | opensc | Fixed | 0.24.0-r0 | Package fix record |
| Alpine Linux | v3.24 | opensc | Fixed | 0.24.0-r0 | Package fix record |
| Oracle Linux | 9 | openscx86_64 | Advisory build | 0:0.23.0-3.el9_3 | ELSA-2023-7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensci686 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | openscppc64le | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | openscs390x | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | openscsrc | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | openscx86_64 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| SUSE / openSUSE | openSUSE-Tumbleweed | openscppc64le | Advisory build | 0.23.0-3.1 | OPENSUSE-SU-2024:13314-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | openscs390x | Advisory build | 0.23.0-3.1 | OPENSUSE-SU-2024:13314-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | openscx86_64 | Advisory build | 0.23.0-3.1 | OPENSUSE-SU-2024:13314-1 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debuginfoaarch64 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debuginfoi686 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debuginfoppc64le | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debuginfos390x | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debuginfox86_64 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debugsourceaarch64 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debugsourcei686 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debugsourceppc64le | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debugsources390x | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Red Hat Enterprise Linux | RHEL-9 | opensc-debugsourcex86_64 | Advisory build | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| Amazon Linux | AL2023 | openscsrc | Listed in advisory | Not stated | ALAS2023-2023-417 |
| Amazon Linux | AL2023 | openscx86_64 | Listed in advisory | Not stated | ALAS2023-2023-417 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.23.0-3.el9_3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
9- RHSA-2023:7879 https://access.redhat.com/errata/RHSA-2023:7879
- https://access.redhat.com/security/cve/CVE-2023-4535
- RHBZ#2240914 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/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
Provider assertions
2redhat · cna
Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cc034fa9e246c34316c081a122ba1c94d584579dfb3d770cf7b6210988f6bd32
- Ingested
- 26 Nov 2026, 11:53:37 UTC
- Source record
- Official CVE record