CVE-2023-2977: opensc_project opensc
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 23.5% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 01-06-2023PublishedVulnerability first disclosed.
- 03-11-2025Last 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- OSV · Red hatEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
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
- opensc0.23.0
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- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory