CVE-2023-40661
Opensc: multiple memory issues with pkcs15-init (enrollment tool)
02 Description
Opensc: multiple memory issues with pkcs15-init (enrollment tool)
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.31% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 70.5% of scored records. A rank, not a probability.
- NVD base score
- 6.4 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-11-06 16:58Z2 YR AGO
- Last updated
- 2025-11-06 22:59Z11 MO AGO
- Reserved
- 2023-08-18
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.4)
- CNA CVSS vector
- CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
- Weaknesses
- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferClass
- Data version
- 5.2
- Document digest
- 09192e64718d257df36866a23a9c7a18882aba79239e5aaedad02793f2334b10
05 Affected products
06 References
- access.redhat.comRHSA-2023:7876https://access.redhat.com/errata/RHSA-2023:7876
- access.redhat.comRHSA-2023:7879https://access.redhat.com/errata/RHSA-2023:7879
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2023-40661
- bugzilla.redhat.comRHBZ#2240913https://bugzilla.redhat.com/show_bug.cgi?id=2240913
- github.comhttps://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
- github.comhttps://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
- github.comhttps://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2023/12/13/3
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2023/11/msg00024.html
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
07 Fixed in
AlmaLinux 8
- opensc Fixed in 0.20.0-7.el8_9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- opensc Fixed in 0.23.0-3.el9_3
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- opensc Fixed in 0.20.0-7.el8_9
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- opensc Fixed in 0.23.0-3.el9_3
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- opensc Fixed in 0.23.0-0.3+deb12u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- opensc Fixed in 0.23.0-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- opensc Fixed in 0.23.0-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- opensc Fixed in 0.20.0-3ubuntu0.1~esm4Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- opensc Fixed in 0.22.0-1ubuntu2+esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.