7.1

CVE-2023-2977: opensc_project opensc

CVSS: 7.1v3.1HighModified
AliasesMGASA-2023-0222SUSE-SU-2023:2466-1SUSE-SU-2023:2508-1
Published 01-06-2023Last modified 03-11-2025

Vulnerability summary

CVE-2023-2977 is a high (CVSS 7.1) vulnerability in opensc_project opensc. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.5% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 2

Timeline

  1. 01-06-2023
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

0.00 pp

From 0.29% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.29%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse9 products
  • opensc&distro=SUSE Linux Enterprise Micro 5.1< 0.19.0-150100.3.22.1
  • opensc&distro=SUSE Linux Enterprise Micro 5.2< 0.19.0-150100.3.22.1
  • opensc&distro=SUSE Linux Enterprise Micro 5.3< 0.22.0-150400.3.3.1
  • opensc&distro=SUSE Linux Enterprise Micro 5.4< 0.22.0-150400.3.3.1
  • opensc&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 0.22.0-150400.3.3.1
Opensuse4 products
  • opensc&distro=openSUSE Leap 15.4< 0.22.0-150400.3.3.1
  • opensc&distro=openSUSE Leap 15.5< 0.22.0-150400.3.3.1
  • opensc&distro=openSUSE Leap Micro 5.3< 0.22.0-150400.3.3.1
  • opensc&distro=openSUSE Tumbleweed< 0.23.0-2.1
Redhat4 products
  • enterprise_linux8.0 | 9.0
  • opensc< 0:0.23.0-2.el9 | < 0:0.20.0-6.el8
  • opensc-debuginfo< 0:0.23.0-2.el9 | < 0:0.20.0-6.el8
  • opensc-debugsource< 0:0.23.0-2.el9 | < 0:0.20.0-6.el8
Debian1 product
  • opensc< 0.23.0-0.3
Mageia1 product
  • opensc< 0.22.0-1.1.mga8
Opensc_project1 product
Ubuntu1 product
  • opensc< 0.15.0-1ubuntu1+esm2 | < 0.17.0-3ubuntu0.1~esm2 | < 0.20.0-3ubuntu0.1~esm4 | < 0.22.0-1ubuntu2+esm1

7 vendors · 21 products

References

31 links
Show all 31 references