CVE-2023-5992: Opensc: side-channel leaks while stripping encryption pkcs#1 padding
Noroxi assessment
Priority: Monitor (action score 23/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.1% (FIRST EPSS); higher than 67.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: opensc (AlmaLinux:8) 0.20.0-8.el8_9; opensc (AlmaLinux:9) 0.23.0-4.el9_3; opensc (Alpine:v3.20) 0.25.1-r0.
Low priority for now. Upgrade to opensc (AlmaLinux:8) 0.20.0-8.el8_9; opensc (AlmaLinux:9) 0.23.0-4.el9_3; opensc (Alpine:v3.20) 0.25.1-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A vulnerability was found in OpenSC where PKCS#1 encryption padding removal is not implemented as side-channel resistant. This issue may result in the potential leak of private data.
- Published
- Jan 31, 2024
- Updated
- Nov 5, 2026
- EPSS
- 1.1% · 67th percentile
- CWE
- CWE-203
Report tools
Action score
23
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.9
- CNA · redhat
- 5.6
- 0.3 point gap
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| opensc project | opensc | cpe:2.3:a:opensc_project:opensc |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for arm 64 | cpe:2.3:o:redhat:enterprise_linux_for_arm_64 |
| redhat | enterprise linux for arm 64 eus | cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for ibm z systems eus | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server for power little endian update services for sap solutions | cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 7
- all versionsaffected
Red Hat Red Hat Enterprise Linux 8
- 0:0.20.0-8.el8_9 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9
- 0:0.23.0-4.el9_3 and laternot affected · rpm
Affected versions · NVD (16)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- opensc project openscbefore 0.25.0
- redhat enterprise linux7.0
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat enterprise linux eus9.4
- redhat enterprise linux for arm 648.0_aarch64
- redhat enterprise linux for arm 649.0_aarch64
- redhat enterprise linux for arm 64 eus9.4_aarch64
- redhat enterprise linux for ibm z systems8.0_s390x
- redhat enterprise linux for ibm z systems9.0_s390x
- redhat enterprise linux for ibm z systems eus9.4_s390x
- redhat enterprise linux for power little endian9.0_ppc64le
- redhat enterprise linux for power little endian eus9.4_ppc64le
- redhat enterprise linux server aus9.4
- redhat enterprise linux server for power little endian update services for sap solutions9.2
- redhat enterprise linux server for power little endian update services for sap solutions9.4_ppc64le
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | opensc | before 0.20.0-8.el8_9 | 0.20.0-8.el8_9 |
| AlmaLinux:9 | opensc | before 0.23.0-4.el9_3 | 0.23.0-4.el9_3 |
| Alpine:v3.20 | opensc | before 0.25.1-r0 | 0.25.1-r0 |
| Debian:11 | opensc | before 0.21.0-1+deb11u1 | 0.21.0-1+deb11u1 |
| Debian:12 | opensc | before 0.23.0-0.3+deb12u2 | 0.23.0-0.3+deb12u2 |
| Debian:13 | opensc | before 0.25.0~rc1-1 | 0.25.0~rc1-1 |
| openSUSE:Leap 15.6 | opensc | before 0.22.0-150600.11.6.1 | 0.22.0-150600.11.6.1 |
| openSUSE:Leap Micro 5.3 | opensc | before 0.22.0-150400.3.9.1 | 0.22.0-150400.3.9.1 |
| Red Hat:enterprise_linux:8::baseos | opensc | before 0:0.20.0-8.el8_9 | 0:0.20.0-8.el8_9 |
| Red Hat:enterprise_linux:8::baseos | opensc-debuginfo | before 0:0.20.0-8.el8_9 | 0:0.20.0-8.el8_9 |
| Red Hat:enterprise_linux:8::baseos | opensc-debugsource | before 0:0.20.0-8.el8_9 | 0:0.20.0-8.el8_9 |
| Red Hat:enterprise_linux:9::baseos | opensc | before 0:0.23.0-4.el9_3 | 0:0.23.0-4.el9_3 |
| Red Hat:enterprise_linux:9::baseos | opensc-debuginfo | before 0:0.23.0-4.el9_3 | 0:0.23.0-4.el9_3 |
| Red Hat:enterprise_linux:9::baseos | opensc-debugsource | before 0:0.23.0-4.el9_3 | 0:0.23.0-4.el9_3 |
| Rocky Linux:8 | opensc | before 0:0.20.0-8.el8_9 | 0:0.20.0-8.el8_9 |
| Rocky Linux:9 | opensc | before 0:0.23.0-4.el9_3 | 0:0.23.0-4.el9_3 |
| SUSE:Linux Enterprise Micro 5.1 | opensc | before 0.19.0-150100.3.28.1 | 0.19.0-150100.3.28.1 |
| SUSE:Linux Enterprise Micro 5.3 | opensc | before 0.22.0-150400.3.9.1 | 0.22.0-150400.3.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | opensc | before 0.22.0-150600.11.6.1 | 0.22.0-150600.11.6.1 |
| SUSE:Linux Enterprise Server 12 SP5 | opensc | before 0.13.0-3.28.1 | 0.13.0-3.28.1 |
| SUSE:Linux Micro 6.0 | opensc | before 0.24.0-4.1 | 0.24.0-4.1 |
| SUSE:Linux Micro 6.1 | opensc | before 0.24.0-slfo.1.1_2.1 | 0.24.0-slfo.1.1_2.1 |
Same product
opensc project: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-6502sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.31Monitor
- CVE-2021-34193Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.30Monitor
- CVE-2019-16058An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC.30Monitor
Published before and after this one in the same product
- ← EarlierCVE-2023-40661Nov 6, 2023 · Opensc: multiple memory issues with pkcs15-init (enrollment tool)25Monitor
- ← EarlierCVE-2023-4535Nov 6, 2023 · Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys15Monitor
- Later →CVE-2024-1454Feb 12, 2024 · Opensc: memory use after free in authentic driver when updating token info13Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:opensc | 0.23.0-4.el9_3 · AlmaLinux:9 | Package registry (OSV) |
| alpine:opensc | 0.25.1-r0 · Alpine:v3.20 | Package registry (OSV) |
| debian:opensc | 0.23.0-0.3+deb12u2 · Debian:12 | Package registry (OSV) |
| opensuse:opensc | 0.22.0-150400.3.9.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| red hat:opensc | 0:0.23.0-4.el9_3 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:opensc-debuginfo | 0:0.23.0-4.el9_3 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:opensc-debugsource | 0:0.23.0-4.el9_3 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| rocky linux:opensc | 0:0.23.0-4.el9_3 · Rocky Linux:9 | Package registry (OSV) |
| suse:opensc | 0.22.0-150400.3.9.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Not on record for this CVE: EPSS history · patch commit or PR link · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-203 · Observable DiscrepancyCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- access.redhat.com/errata/RHSA-2024:0967
- access.redhat.com/security/cve/CVE-2023-5992
- bugzilla.redhat.com/show_bug.cgi?id=2248685
- github.com/OpenSC/OpenSC/wiki/CVE-2023-5992
- lists.debian.org/debian-lts-announce/2024/12/msg00026.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OWIZ5ZLO5ECYPLSTESCF7I7PQO5X6ZSU/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJI2FWLY24EOPALQ43YPQEZMEP3APPPI/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UECKC7X4IM4YZQ5KRQMNBNKNOXLZC7RZ/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.