Every CVE Search/ Get API key

CVE-2023-5992

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

5.6 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

1.16%Up 1.1 points since Feb 8, 2024
90%50%10%1%

What each source reports

CVE List Score used 5.6

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

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.

Record
CVE-2023-5992
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-203
Updated
2026-11-05
EUVDEUVD-2023-58259 5.6

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.

Record
EUVD-2023-58259
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-05
GitHub AdvisoriesGHSA-554m-v42f-hcq9 5.6

A vulnerability was found in OpenSC where PKCS#1 encryption padding removal is not implemented as...

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.

Record
GHSA-554m-v42f-hcq9
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-200, CWE-203
Updated
2026-11-02
NVD 5.6

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.

Record
CVE-2023-5992
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-203
Updated
2026-11-05
OSVALPINE-CVE-2023-5992 5.9

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.

Record
ALPINE-CVE-2023-5992
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
OSVAZL-34088 5.9

CVE-2023-5992 affecting package opensc for versions less than 0.23.0-3

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.

Record
AZL-34088
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 22 moreShow less
OSVAZL-35077 5.9

CVE-2023-5992 affecting package opensc for versions less than 0.25.1-3

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.

Record
AZL-35077
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVBELL-CVE-2023-5992 5.9
Record
BELL-CVE-2023-5992
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSV 5.6

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

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.

Record
CVE-2023-5992
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-203
Updated
2026-11-07
OSVDEBIAN-CVE-2023-5992 5.9

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.

Record
DEBIAN-CVE-2023-5992
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2024:0966 5.6

Red Hat Security Advisory: opensc security update

Record
RHSA-2024:0966
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2024:0967 5.6

Red Hat Security Advisory: opensc security update

Record
RHSA-2024:0967
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRLSA-2024:0966 5.6

Moderate: opensc security update

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.

Security Fix(es):

  • OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding (CVE-2023-5992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:0966
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRLSA-2024:0967 5.6

Moderate: opensc security update

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.

Security Fix(es):

  • OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding (CVE-2023-5992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:0967
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2023-5992 5.6

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.

Record
UBUNTU-CVE-2023-5992
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVALSA-2024:0966 No score

Moderate: opensc security update

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.

Security Fix(es):

  • OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding (CVE-2023-5992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:0966
Updated
2026-11-02
OSVALSA-2024:0967 No score

Moderate: opensc security update

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.

Security Fix(es):

  • OpenSC: Side-channel leaks while stripping encryption PKCS#1 padding (CVE-2023-5992)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:0967
Updated
2026-11-02
OSVCLSA-2026-1779190223 No score

opensc: Fix of 5 CVEs

  • CVE-2023-5992: implement constant-time PKCS#1 v1.5 depadding to prevent Bleichenbacher/Marvin-style timing attacks
  • CVE-2025-49010: fix stack buffer overflow write in iso7816 GET RESPONSE
  • CVE-2025-66037: fix out-of-bounds heap read in sc_pkcs15_pubkey_from_spki_fields
  • CVE-2025-66038: fix buffer over-read in sc_compacttlv_find_tag
  • CVE-2025-66215: fix stack buffer overflow write in card-oberthur auth_compute_signature and auth_read_record
Record
CLSA-2026-1779190223
Updated
2026-11-02
OSVMGASA-2024-0101 No score

Updated opensc packages fix security vulnerability

Side-channel leaks while stripping encryption PKCS#1.5 padding in OpenSC. (CVE-2023-5992)

Record
MGASA-2024-0101
Updated
2026-11-02
OSVopenSUSE-SU-2024:13765-1 No score

opensc-0.25.0-1.1 on GA media

These are all security issues fixed in the opensc-0.25.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13765-1
Updated
2026-11-02
OSVSUSE-SU-2024:1402-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2023-5992: Fixed side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386)
Record
SUSE-SU-2024:1402-1
Updated
2026-11-02
OSVSUSE-SU-2024:1402-2 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2023-5992: Fixed side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386)
Record
SUSE-SU-2024:1402-2
Updated
2026-11-02
OSVSUSE-SU-2024:1625-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2023-5992: Fixed a side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386)
Record
SUSE-SU-2024:1625-1
Updated
2026-11-02
OSVSUSE-SU-2024:1773-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2023-5992: Fixed a side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386)
Record
SUSE-SU-2024:1773-1
Updated
2026-11-02
OSVSUSE-SU-2025:02754-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2023-5992: Fixed side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386).
Record
SUSE-SU-2025:02754-1
Updated
2026-11-02
OSVSUSE-SU-2025:20530-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2023-5992: Fixed side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386)
Record
SUSE-SU-2025:20530-1
Updated
2026-11-02
OSVSUSE-SU-2025:20671-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2023-5992: Side-channel leaks while stripping encryption PKCS#1 padding (bsc#1219386).
  • CVE-2024-8443: Heap buffer overflow in OpenPGP driver when generating key (bsc#1230364).
  • CVE-2024-45620: Incorrect handling of the length of buffers or files in pkcs15init (bsc#1230076).
  • CVE-2024-45619: Incorrect handling length of buffers or files in libopensc (bsc#1230075).
  • CVE-2024-45618: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init (bsc#1230074).
  • CVE-2024-45617: Uninitialized values after incorrect or missing checking return values of functions in libopensc (bsc#1230073).
  • CVE-2024-45616: Uninitialized values after incorrect check or usage of APDU response values in libopensc (bsc#1230072).
  • CVE-2024-45615: Usage of uninitialized values in libopensc and pkcs15init (bsc#1230071).
Record
SUSE-SU-2025:20671-1
Updated
2026-11-02
OSVUSN-7346-1 No score

opensc vulnerabilities

It was discovered that OpenSC did not correctly handle certain memory operations, which could lead to a use-after-free vulnerability. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-42780)

It was discovered that OpenSC did not correctly handle certain memory operations, which could lead to a stack buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-42782)

It was discovered that OpenSC did not correctly handle the length of certain buffers, which could lead to a out-of-bounds access vulnerability. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-2977)

Deepanjan Pal discovered that OpenSC did not correctly authenticate a zero length PIN. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-40660)

It was discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to compromise key generation, certificate loading and other card management operations. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-40661)

Hubert Kario, Michal Shagam and Eyal Ronen discovered that OpenSC had a timing side-channel and incorrectly handled RSA padding. An attacker could possibly use this issue to recover sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-5992)

Matteo Marini discovered that OpenSC did not properly manage memory due to certain uninitialized variables. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-45615)

Matteo Marini discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-45616, CVE-2024-45617)

Matteo Marini discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. (CVE-2024-45618, CVE-2024-45620)

Matteo Marini discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-45619)

It was discovered that OpenSC did not correctly handle certain memory operations, which could lead to a buffer overflow. A physically proximate attacker could possibly use this issue to compromise card management operations during enrollment and modification. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-8443)

Record
USN-7346-1
Updated
2026-11-02

Affected products

Show 2 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
opensc
Alpine:v3.20
before 0.25.1-r0
0.25.1-r0
opensc
Alpine:v3.21
before 0.25.1-r0
0.25.1-r0
opensc
Alpine:v3.22
before 0.25.1-r0
0.25.1-r0
opensc
Alpine:v3.23
before 0.25.1-r0
0.25.1-r0
opensc
Alpine:v3.24
before 0.25.1-r0
0.25.1-r0
opensc
AlmaLinux:9
before 0.23.0-4.el9_3
0.23.0-4.el9_3
opensc
AlmaLinux:8
before 0.20.0-8.el8_9
0.20.0-8.el8_9
opensc
Azure Linux:2
before 0.23.0-3
0.23.0-3
opensc
Azure Linux:3
before 0.25.1-3
0.25.1-3
opensc
Alpaquita:23
0.22.0-r4 up to 0.26.0-r0
0.26.0-r0
Show 37 moreShow less
Affected packages
PackageAffectedFixed
opensc
Alpaquita:stream
0.22.0-r4 up to 0.25.1-r0
0.25.1-r0
opensc
TuxCare:AlmaLinux:9.2
From an advisory covering 5 CVEs
before 0.22.0-2.el9_2.tuxcare.els5
0.22.0-2.el9_2.tuxcare.els5
opensc
Debian:12
before 0.23.0-0.3+deb12u2, plus listed versions
0.23.0-0.30.23.0-0.3+deb12u1
0.23.0-0.3+deb12u2
opensc
Debian:13
before 0.25.0~rc1-1
0.25.0~rc1-1
opensc
Debian:14
before 0.25.0~rc1-1
0.25.0~rc1-1
opensc
Debian:11
From an advisory covering 18 CVEs
before 0.21.0-1+deb11u1, plus listed versions
0.21.0-1
0.21.0-1+deb11u1
opensc
Mageia:9
before 0.25.0-1.mga9
0.25.0-1.mga9
opensc
Red Hat:enterprise_linux:9::baseos
before 0:0.23.0-4.el9_3
0:0.23.0-4.el9_3
opensc-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:0.23.0-4.el9_3
0:0.23.0-4.el9_3
opensc-debugsource
Red Hat:enterprise_linux:9::baseos
before 0:0.23.0-4.el9_3
0:0.23.0-4.el9_3
opensc
Red Hat:enterprise_linux:8::baseos
before 0:0.20.0-8.el8_9
0:0.20.0-8.el8_9
opensc-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:0.20.0-8.el8_9
0:0.20.0-8.el8_9
opensc-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:0.20.0-8.el8_9
0:0.20.0-8.el8_9
opensc
Rocky Linux:9
before 0:0.23.0-4.el9_3
0:0.23.0-4.el9_3
opensc
Rocky Linux:8
before 0:0.20.0-8.el8_9
0:0.20.0-8.el8_9
opensc
SUSE:Linux Enterprise Micro 5.3
before 0.22.0-150400.3.9.1
0.22.0-150400.3.9.1
opensc
SUSE:Linux Enterprise Micro 5.4
before 0.22.0-150400.3.9.1
0.22.0-150400.3.9.1
opensc
SUSE:Linux Enterprise Micro 5.5
before 0.22.0-150400.3.9.1
0.22.0-150400.3.9.1
opensc
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 0.22.0-150400.3.9.1
0.22.0-150400.3.9.1
opensc
openSUSE:Leap Micro 5.3
before 0.22.0-150400.3.9.1
0.22.0-150400.3.9.1
opensc
openSUSE:Leap Micro 5.4
before 0.22.0-150400.3.9.1
0.22.0-150400.3.9.1
opensc
openSUSE:Leap 15.5
before 0.22.0-150400.3.9.1
0.22.0-150400.3.9.1
opensc
SUSE:Linux Enterprise Server 12 SP5
before 0.13.0-3.28.1
0.13.0-3.28.1
opensc
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 0.13.0-3.28.1
0.13.0-3.28.1
opensc
SUSE:Linux Enterprise Micro 5.1
before 0.19.0-150100.3.28.1
0.19.0-150100.3.28.1
opensc
SUSE:Linux Enterprise Micro 5.2
before 0.19.0-150100.3.28.1
0.19.0-150100.3.28.1
opensc
SUSE:Linux Enterprise Module for Basesystem 15 SP6
before 0.22.0-150600.11.6.1
0.22.0-150600.11.6.1
opensc
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 0.22.0-150600.11.6.1
0.22.0-150600.11.6.1
opensc
openSUSE:Leap 15.6
before 0.22.0-150600.11.6.1
0.22.0-150600.11.6.1
opensc
SUSE:Linux Micro 6.0
before 0.24.0-4.1
0.24.0-4.1
opensc
SUSE:Linux Micro 6.1
From an advisory covering 8 CVEs
before 0.24.0-slfo.1.1_2.1
0.24.0-slfo.1.1_2.1
opensc
Ubuntu:Pro:22.04:LTS
before 0.22.0-1ubuntu2+esm1, plus listed versions
0.21.0-1ubuntu10.22.0-1ubuntu2
0.22.0-1ubuntu2+esm1
opensc
Ubuntu:Pro:16.04:LTS
From an advisory covering 13 CVEs
before 0.15.0-1ubuntu1+esm2, plus listed versions
0.15.0-1ubuntu10.15.0-1ubuntu1+esm1
0.15.0-1ubuntu1+esm2
opensc
Ubuntu:Pro:18.04:LTS
From an advisory covering 13 CVEs
before 0.17.0-3ubuntu0.1~esm2, plus listed versions
0.17.0-10.17.0-20.17.0-2build10.17.0-30.17.0-3ubuntu0.1~esm1
0.17.0-3ubuntu0.1~esm2
opensc
Ubuntu:Pro:20.04:LTS
From an advisory covering 13 CVEs
before 0.20.0-3ubuntu0.1~esm2, plus listed versions
0.19.0-20.20.0-10.20.0-20.20.0-30.20.0-3ubuntu0.1~esm1
0.20.0-3ubuntu0.1~esm2
opensc
Ubuntu:Pro:22.04:LTS
From an advisory covering 13 CVEs
before 0.22.0-1ubuntu2+esm1, plus listed versions
0.21.0-1ubuntu10.22.0-1ubuntu2
0.22.0-1ubuntu2+esm1
opensc
Ubuntu:Pro:24.04:LTS
From an advisory covering 13 CVEs
before 0.25.0~rc1-1ubuntu0.1~esm1, plus listed versions
0.23.0-1ubuntu40.24.0~rc1-10.25.0~rc1-10.25.0~rc1-1build10.25.0~rc1-1build2
0.25.0~rc1-1ubuntu0.1~esm1

History

History
RecordedChangedSources
affectedCVE List, NVD, OSV
factsEUVD
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-5992 is a medium vulnerability (CVSS 5.6) in Opensc Project Opensc, published January 31, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.16%, the 67th percentile. Fixed in opensc 0.25.1-r0.

References

Show 61 moreShow less
MoveEnter Open