CVE-2023-2977
Publication date 1 June 2023
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| opensc | 25.10 questing |
Not affected
|
| 25.04 plucky |
Not affected
|
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Fixed 0.22.0-1ubuntu2+esm1
|
|
| 20.04 LTS focal |
Fixed 0.20.0-3ubuntu0.1~esm4
|
|
| 18.04 LTS bionic |
Fixed 0.17.0-3ubuntu0.1~esm2
|
|
| 16.04 LTS xenial |
Fixed 0.15.0-1ubuntu1+esm2
|
|
| 14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7346-1
- OpenSC vulnerabilities
- 12 March 2025
- USN-7346-3
- OpenSC vulnerabilities
- 9 April 2025