CVE-2023-5992 json
Opensc: side-channel leaks while stripping encryption pkcs#1 padding
published 2024-01-31 2 y ago modified 2026-11-05 3 d ago also EUVD-2023-58259
- cvss
- 5.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 8 0:0.20.0-8.el8_9
- Red Hat Red Hat Enterprise Linux 9 0:0.23.0-4.el9_3
- opensc Debian 12 0.23.0-0.3+deb12u2
- opensc Debian 14, Debian 13 0.25.0~rc1-1
debian advisories DEBIAN-CVE-2023-5992
- opensc Ubuntu Pro 22.04 LTS 0.22.0-1ubuntu2+esm1
ubuntu advisories UBUNTU-CVE-2023-5992
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- opensc RHEL 8 0.20.0-8.el8_9
- opensc RHEL 9 0.23.0-4.el9_3
red hat advisories RHSA-2024:0967RHSA-2024:0966
- opensc Linux Micro 6.1 0.24.0-slfo.1.1_2.1
- opensc SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 0.22.0-150600.11.6.1
- opensc Linux Micro 6.0 0.24.0-4.1
- opensc SLE Micro 5.2, SLE Micro 5.1 0.19.0-150100.3.28.1
- opensc SLES for SAP 12 SP5, SLES 12 SP5 0.13.0-3.28.1
- opensc SLE Module for Basesystem 15 SP5, SLE Micro 5.5, SLE Micro 5.4 +4 more 0.22.0-150400.3.9.1
suse advisories SUSE-SU-2025:20671-1SUSE-SU-2025:02754-1SUSE-SU-2025:20530-1SUSE-SU-2024:1773-1SUSE-SU-2024:1625-1SUSE-SU-2024:1402-2
- opensc AlmaLinux 9 0.23.0-4.el9_3
- opensc AlmaLinux 8 0.20.0-8.el8_9
almalinux advisories ALSA-2024:0966ALSA-2024:0967
- opensc Rocky Linux 9 0.23.0-4.el9_3
- opensc Rocky Linux 8 0.20.0-8.el8_9
rocky linux advisories RLSA-2024:0966RLSA-2024:0967
- opensc Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 0.25.1-r0
alpine advisories ALPINE-CVE-2023-5992
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- opensc CBL-Mariner 2.0 0.23.0-3
- opensc Azure Linux 3.0 0.25.1-3
azure linux advisories AZL-34088AZL-35077
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-5992 updated cvss 5.6
OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding
-
Red Hat Enterprise Linux 7 openscaffected: no fix available
-
Red Hat Enterprise Linux BaseOS (v. 8) opensc 0.20.0-8.el8_9fixed: vendor fix RHSA-2024:0967
-
Red Hat Enterprise Linux BaseOS (v. 9) opensc 0.23.0-4.el9_3fixed: vendor fix RHSA-2024:0966
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.16% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- usenix.org https://www.usenix.org/system/files/usenixsecurity24-shagam.pdf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected products
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 7
Classification
- Weakness
-
- CWE-203 Observable Discrepancy
References
-
usenix.org
/system/files/usenixsecurity24-shagam.pdf
exploit, technical-description
-
access.redhat.com
/errata/RHSA-2024:0966
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2024:0967
vendor-advisory, third-party-advisory
-
github.com
/OpenSC/OpenSC/wiki/CVE-2023-5992
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2023-5992
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2248685
issue-tracking
- 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/
- lists.debian.org /debian-lts-announce/2024/12/msg00026.html
Sources
- CVE List CVE-2023-5992
- NVD CVE-2023-5992
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.