High severity7.1NVD Advisory· Published Jun 1, 2023· Updated Jun 17, 2026
CVE-2023-2977
CVE-2023-2977
Description
A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The attacker can supply a smart card package with malformed ASN1 context. The cardos_have_verifyrc_package function scans the ASN1 buffer for 2 tags, where remaining length is wrongly caculated due to moved starting pointer. This leads to possible heap-based buffer oob read. In cases where ASAN is enabled while compiling this causes a crash. Further info leak or more damage is possible.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
16- osv-coords14 versionspkg:rpm/almalinux/openscpkg:rpm/opensuse/opensc&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/opensc&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/opensc&distro=openSUSE%20Leap%20Micro%205.3pkg:rpm/opensuse/opensc&distro=openSUSE%20Tumbleweedpkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5
< 0.23.0-2.el9+ 13 more
- (no CPE)range: < 0.23.0-2.el9
- (no CPE)range: < 0.22.0-150400.3.3.1
- (no CPE)range: < 0.22.0-150400.3.3.1
- (no CPE)range: < 0.22.0-150400.3.3.1
- (no CPE)range: < 0.23.0-2.1
- (no CPE)range: < 0.19.0-150100.3.22.1
- (no CPE)range: < 0.19.0-150100.3.22.1
- (no CPE)range: < 0.22.0-150400.3.3.1
- (no CPE)range: < 0.22.0-150400.3.3.1
- (no CPE)range: < 0.22.0-150400.3.3.1
- (no CPE)range: < 0.22.0-150400.3.3.1
- (no CPE)range: < 0.19.0-150100.3.22.1
- (no CPE)range: < 0.13.0-3.22.1
- (no CPE)range: < 0.13.0-3.22.1
Patches
Vulnerability mechanics
References
8- github.com/OpenSC/OpenSC/issues/2785nvdIssue TrackingPatch
- github.com/OpenSC/OpenSC/pull/2787nvdPatch
- access.redhat.com/security/cve/CVE-2023-2977nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
- lists.debian.org/debian-lts-announce/2023/06/msg00025.htmlnvd
- lists.debian.org/debian-lts-announce/2024/12/msg00026.htmlnvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJD4Q4AJSGE5UIJI7OUYZY4HGGCVYQNI/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LAR54OV6EHA56B4XJF6RNPQ4HJ2ITU66/nvd
News mentions
0No linked articles in our index yet.