Opensc: side-channel leaks while stripping encryption pkcs#1 padding

Summary

CVECVE-2023-5992
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-01-31 14:15:48 UTC
Updated2026-11-05 12:17:35 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.9 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-203 | CWE-203 Observable Discrepancy


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1[email protected]Secondary5.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
3.1CNACVSS5.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Opensc Project Opensc All All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All
Operating System Redhat Enterprise Linux Eus 9.4 All All All
Operating System Redhat Enterprise Linux For Arm 64 8.0_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 9.0_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 9.4_aarch64 All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 8.0_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 9.0_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 9.4_s390x All All All
Operating System Redhat Enterprise Linux For Power Little Endian 9.0_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.4_ppc64le All All All
Operating System Redhat Enterprise Linux Server Aus 9.4 All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.2 All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.4_ppc64le All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:0.20.0-8.el8_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:0.23.0-4.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified

References

ReferenceSourceLinkTags
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2024:0967 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
www.usenix.org/system/files/usenixsecurity24-shagam.pdf [email protected] www.usenix.org Exploit, Technical Description
2248685 – (CVE-2023-5992) CVE-2023-5992 OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2024:0966 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
lists.debian.org/debian-lts-announce/2024/12/msg00026.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
CVE 2023 5992 · OpenSC/OpenSC Wiki · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: This issue was discovered by Hubert Kario (Red Hat). (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-11-08T00:00:00.000ZReported to Red Hat.
CNA2023-11-28T00:00:00.000ZMade public.

Legacy QID Mappings

  • 161378 Oracle Enterprise Linux Security Update for opensc (ELSA-2024-0966)
  • 161382 Oracle Enterprise Linux Security Update for opensc (ELSA-2024-0967)
  • 242974 Red Hat Update for opensc (RHSA-2024:0967)
  • 242975 Red Hat Update for opensc (RHSA-2024:0966)
  • 285362 Fedora Security Update for opensc (FEDORA-2024-6460a03e29)
  • 285363 Fedora Security Update for opensc (FEDORA-2024-b92d44f141)
  • 357370 Amazon Linux Security Advisory for opensc : ALAS2023-2024-580
  • 379617 Alibaba Cloud Linux Security Update for opensc (ALINUX3-SA-2024:0026)
  • 941590 AlmaLinux Security Update for opensc (ALSA-2024:0967)
  • 941604 AlmaLinux Security Update for opensc (ALSA-2024:0966)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report