CVE catalog

CVE-2023-2977

OpenSC vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopenscsid0.27.1-3fixed
Debianopenscforky0.27.1-3fixed
Debianopensctrixie0.26.1-2fixed
Debianopenscbookworm0.23.0-0.3+deb12u2fixed
Ubuntuopenscnoble0.23.0-0.3fixed
Ubuntuopenscnoble0.25.0~rc1-1ubuntu0.1~esm1fixed
Ubuntuopensc-pkcs11noble0.25.0~rc1-1ubuntu0.1~esm1fixed
Ubuntuopenscpro0.21.0-1ubuntu1vulnerable
Ubuntuopenscpro0.22.0-1ubuntu2vulnerable
Ubuntuopenscpro0.22.0-1ubuntu2+esm1fixed
Suseopensclinux enterprise real time 15 sp30.19.0-150100.3.22.1fixed
Suseopensclinux enterprise micro 5.10.19.0-150100.3.22.1fixed
Suseopensclinux enterprise micro 5.20.19.0-150100.3.22.1fixed
Opensuseopensctumbleweed0.23.0-2.1fixed
Suseopensclinux enterprise micro 5.30.22.0-150400.3.3.1fixed
Suseopensclinux enterprise micro 5.40.22.0-150400.3.3.1fixed
Suseopensclinux enterprise module for basesystem 15 sp40.22.0-150400.3.3.1fixed
Suseopensclinux enterprise module for basesystem 15 sp50.22.0-150400.3.3.1fixed
Opensuseopenscleap micro 5.30.22.0-150400.3.3.1fixed
Opensuseopenscleap 15.40.22.0-150400.3.3.1fixed
Opensuseopenscleap 15.50.22.0-150400.3.3.1fixed
Suseopensclinux enterprise server 12 sp50.13.0-3.22.1fixed
Suseopensclinux enterprise server for sap applications 12 sp50.13.0-3.22.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopenscsourcesid0.23.0-0.3not yet assignedNot reported[1037021]
Debianopenscsourceforky0.23.0-0.3not yet assignedNot reported[1037021]
Debianopenscsourcetrixie0.23.0-0.3not yet assignedNot reported[1037021]
Debianopenscsourcebookworm0.23.0-0.3not yet assignedNot reported[1037021]
Ubuntuopenscdebnoble0.23.0-0.3Not reportedNot reportedNot reported
Ubuntuopenscdebnoble0.25.0~rc1-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuopensc-pkcs11debnoble0.25.0~rc1-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuopenscdebpro0.22.0-1ubuntu2+esm1Not reportedUBUNTU-CVE-2023-2977Not reported
Suseopenscrpmlinux enterprise real time 15 sp30.19.0-150100.3.22.1Not reportedSUSE-SU-2023:2508-1Not reported
Suseopenscrpmlinux enterprise micro 5.10.19.0-150100.3.22.1Not reportedSUSE-SU-2023:2508-1Not reported
Suseopenscrpmlinux enterprise micro 5.20.19.0-150100.3.22.1Not reportedSUSE-SU-2023:2508-1Not reported
Opensuseopenscrpmtumbleweed0.23.0-2.1Not reportedOPENSUSE-SU-2024:12968-1Not reported
Suseopenscrpmlinux enterprise micro 5.30.22.0-150400.3.3.1Not reportedSUSE-SU-2023:2516-1Not reported
Suseopenscrpmlinux enterprise micro 5.40.22.0-150400.3.3.1Not reportedSUSE-SU-2023:2516-1Not reported
Suseopenscrpmlinux enterprise module for basesystem 15 sp40.22.0-150400.3.3.1Not reportedSUSE-SU-2023:2516-1Not reported
Suseopenscrpmlinux enterprise module for basesystem 15 sp50.22.0-150400.3.3.1Not reportedSUSE-SU-2023:2516-1Not reported
Opensuseopenscrpmleap micro 5.30.22.0-150400.3.3.1Not reportedSUSE-SU-2023:2516-1Not reported
Opensuseopenscrpmleap 15.40.22.0-150400.3.3.1Not reportedSUSE-SU-2023:2516-1Not reported
Opensuseopenscrpmleap 15.50.22.0-150400.3.3.1Not reportedSUSE-SU-2023:2516-1Not reported
Suseopenscrpmlinux enterprise server 12 sp50.13.0-3.22.1Not reportedSUSE-SU-2023:2466-1Not reported
Suseopenscrpmlinux enterprise server for sap applications 12 sp50.13.0-3.22.1Not reportedSUSE-SU-2023:2466-1Not reported

[Debian bug #1037021]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References