# CVE-2023-5992: Opensc: side-channel leaks while stripping encryption pkcs\#1 padding

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-31 · Modified: 2026-11-05
- Aliases: MGASA-2024-0101, SUSE-SU-2024:1402-1, SUSE-SU-2024:1402-2, SUSE-SU-2024:1625-1, SUSE-SU-2024:1773-1, SUSE-SU-2025:02754-1, SUSE-SU-2025:20530-1, RHSA-2024:0966, RHSA-2024:0967, UBUNTU-CVE-2023-5992, DEBIAN-CVE-2023-5992, ALPINE-CVE-2023-5992
- Record: https://cvemate.com/vulnerability/CVE-2023-5992 · JSON: https://cvemate.com/vulnerability/CVE-2023-5992/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.186%, percentile 68.893%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 33)

- alpine opensc (Alpine Linux): \< 0.25.1-r0
- debian opensc (Debian): \< 0.23.0-0.3+deb12u2 \| \< 0.25.0~rc1-1
- ubuntu opensc (Ubuntu): \< 0.22.0-1ubuntu2+esm1
- mageia opensc (Mageia): \< 0.25.0-1.mga9
- opensc\_project opensc: \< 0.25.0
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0
- redhat enterprise\_linux\_eus: 9.4
- redhat enterprise\_linux\_for\_arm\_64: 8.0\_aarch64 \| 9.0\_aarch64
- redhat enterprise\_linux\_for\_arm\_64\_eus: 9.4\_aarch64
- redhat enterprise\_linux\_for\_ibm\_z\_systems: 8.0\_s390x \| 9.0\_s390x
- redhat enterprise\_linux\_for\_ibm\_z\_systems\_eus: 9.4\_s390x
- redhat enterprise\_linux\_for\_power\_little\_endian: 9.0\_ppc64le
- redhat enterprise\_linux\_for\_power\_little\_endian\_eus: 9.4\_ppc64le
- redhat enterprise\_linux\_server\_aus: 9.4
- redhat enterprise\_linux\_server\_for\_power\_little\_endian\_update\_services\_for\_sap\_solutions: 9.2 \| 9.4\_ppc64le
- opensuse opensc&distro=openSUSE Leap 15.5 (openSUSE): \< 0.22.0-150400.3.9.1
- opensuse opensc&distro=openSUSE Leap 15.6 (openSUSE): \< 0.22.0-150600.11.6.1
- opensuse opensc&distro=openSUSE Leap Micro 5.3 (openSUSE): \< 0.22.0-150400.3.9.1
- opensuse opensc&distro=openSUSE Leap Micro 5.4 (openSUSE): \< 0.22.0-150400.3.9.1
- redhat opensc (Red Hat): \< 0:0.23.0-4.el9\_3 \| \< 0:0.20.0-8.el8\_9

## References (first 20 of 30)

- <https://access.redhat.com/errata/RHSA-2024:0966>
- <https://access.redhat.com/errata/RHSA-2024:0967>
- <https://access.redhat.com/security/cve/CVE-2023-5992>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2248685>
- <https://github.com/OpenSC/OpenSC/wiki/CVE-2023-5992>
- <https://www.usenix.org/system/files/usenixsecurity24-shagam.pdf>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OWIZ5ZLO5ECYPLSTESCF7I7PQO5X6ZSU/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJI2FWLY24EOPALQ43YPQEZMEP3APPPI/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UECKC7X4IM4YZQ5KRQMNBNKNOXLZC7RZ/>
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html>
- <https://advisories.mageia.org/MGASA-2024-0101.html>
- <https://bugs.mageia.org/show_bug.cgi?id=32904>
- <https://lwn.net/Articles/963644/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241402-1/>
- <https://bugzilla.suse.com/1219386>
- <https://www.suse.com/security/cve/CVE-2023-5992>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241402-2/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241625-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241773-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202502754-1/>

---

Data as of 2026-12-05T13:08:46.337Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
