Back
CVE-2023-2977
A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The…
High7.1EPSS 0.29%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.29% · top 78% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Weakness
Affected products
OpenSC
- affected opensc-0.23.0
References (8)
- https://access.redhat.com/security/cve/CVE-2023-2977 (opens in a new tab)x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2211088 (opens in a new tab)x_transferred
- https://github.com/OpenSC/OpenSC/issues/2785 (opens in a new tab)x_transferred
- https://github.com/OpenSC/OpenSC/pull/2787 (opens in a new tab)x_transferred
- [debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update (opens in a new tab)mailing-listx_transferred
- FEDORA-2023-29530cc60b (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-2afb831742 (opens in a new tab)vendor-advisoryx_transferred
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-2977)Record last updated .