Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-40661

published medium CVSS 3.1 · 5.4

Opensc: multiple memory issues with pkcs15-init (enrollment tool)

Published
06 Nov 2023, 16:58:43 UTC
Updated
06 Nov 2026, 20:26:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Not stated — OpenSC0 to < 0.24.0 · Other versions: unaffected Affected Not stated redhat
Red Hat Enterprise Linux 8 opensc0:0.20.0-7.el8_9 and later · Other versions: affected Unaffected Not stated redhat
Red Hat Enterprise Linux 9 opensc0:0.23.0-3.el9_3 and later · Other versions: affected Unaffected Not stated redhat
Red Hat Enterprise Linux 7 opensc Unknown Not stated redhat
Amazon Linux AL2 Release evaluationALAS2-2023-2323 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-417 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 opensc Advisory build 0.20.0-7.el8_9 ALSA-2023:7876
Alpine Linux edge opensc Fixed 0.24.0-r0 Package fix record
Show 90 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye opensc Advisory build 0.21.0-1+deb11u1 DLA-4004-1
Oracle Linux 8 openscaarch64 Advisory build 0:0.20.0-7.el8_9 ELSA-2023-7876
Red Hat Enterprise Linux RHEL-8 openscaarch64 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
SUSE / openSUSE SLE-12-SP5 openscaarch64 Advisory build 0.13.0-3.25.1 SUSE-SU-2023:4065-1
Ubuntu focal opensc Advisory build 0.20.0-3ubuntu0.1~esm4 USN-7346-3
Amazon Linux AL2 openscaarch64 Listed in advisory Not stated ALAS2-2023-2323
AlmaLinux 9 opensc Advisory build 0.23.0-3.el9_3 ALSA-2023:7879
Alpine Linux v3.19 opensc Fixed 0.24.0-r0 Package fix record
Alpine Linux v3.20 opensc Fixed 0.24.0-r0 Package fix record
Alpine Linux v3.21 opensc Fixed 0.24.0-r0 Package fix record
Alpine Linux v3.22 opensc Fixed 0.24.0-r0 Package fix record
Alpine Linux v3.23 opensc Fixed 0.24.0-r0 Package fix record
Alpine Linux v3.24 opensc Fixed 0.24.0-r0 Package fix record
Debian buster opensc Advisory build 0.19.0-1+deb10u3 DLA-3668-1
Oracle Linux 8 openscx86_64 Advisory build 0:0.20.0-7.el8_9 ELSA-2023-7876
Oracle Linux 9 openscaarch64 Advisory build 0:0.23.0-3.el9_3 ELSA-2023-7879
Oracle Linux 9 openscx86_64 Advisory build 0:0.23.0-3.el9_3 ELSA-2023-7879
Red Hat Enterprise Linux RHEL-8 opensci686 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 openscppc64le Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 openscs390x Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 openscsrc Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 openscx86_64 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-9 openscaarch64 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensci686 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 openscppc64le Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 openscs390x Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 openscsrc Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 openscx86_64 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
SUSE / openSUSE SLE-12-SP5 openscppc64le Advisory build 0.13.0-3.25.1 SUSE-SU-2023:4065-1
SUSE / openSUSE SLE-12-SP5 openscs390x Advisory build 0.13.0-3.25.1 SUSE-SU-2023:4065-1
SUSE / openSUSE SLE-12-SP5 openscx86_64 Advisory build 0.13.0-3.25.1 SUSE-SU-2023:4065-1
SUSE / openSUSE SLE-15-SP1 openscaarch64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP1 openscppc64le Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP1 openscs390x Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP1 openscx86_64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP2 openscaarch64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP2 openscppc64le Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP2 openscs390x Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP2 openscx86_64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP3 openscaarch64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP3 openscppc64le Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP3 openscs390x Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP3 openscx86_64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-15-SP4 openscaarch64 Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-15-SP4 openscppc64le Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-15-SP4 openscs390x Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-15-SP4 openscx86_64 Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-15-SP5 openscaarch64 Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-15-SP5 openscppc64le Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-15-SP5 openscs390x Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-15-SP5 openscx86_64 Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-5 openscaarch64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-5 openscaarch64 Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-5 openscs390x Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-5 openscs390x Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE SLE-5 openscx86_64 Advisory build 0.19.0-150100.3.25.1 SUSE-SU-2023:4104-1
SUSE / openSUSE SLE-5 openscx86_64 Advisory build 0.22.0-150400.3.6.1 SUSE-SU-2023:4089-1
SUSE / openSUSE openSUSE-Tumbleweed openscaarch64 Advisory build 0.23.0-3.1 OPENSUSE-SU-2024:13314-1
SUSE / openSUSE openSUSE-Tumbleweed openscppc64le Advisory build 0.23.0-3.1 OPENSUSE-SU-2024:13314-1
SUSE / openSUSE openSUSE-Tumbleweed openscs390x Advisory build 0.23.0-3.1 OPENSUSE-SU-2024:13314-1
SUSE / openSUSE openSUSE-Tumbleweed openscx86_64 Advisory build 0.23.0-3.1 OPENSUSE-SU-2024:13314-1
Ubuntu jammy opensc Advisory build 0.22.0-1ubuntu2+esm1 USN-7346-1
Red Hat Enterprise Linux RHEL-8 opensc-debuginfoaarch64 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debuginfoi686 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debuginfoppc64le Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debuginfos390x Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debuginfox86_64 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debugsourceaarch64 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debugsourcei686 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debugsourceppc64le Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debugsources390x Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-8 opensc-debugsourcex86_64 Advisory build 0.20.0-7.el8_9 RHSA-2023:7876
Red Hat Enterprise Linux RHEL-9 opensc-debuginfoaarch64 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debuginfoi686 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debuginfoppc64le Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debuginfos390x Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debuginfox86_64 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debugsourceaarch64 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debugsourcei686 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debugsourceppc64le Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debugsources390x Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Red Hat Enterprise Linux RHEL-9 opensc-debugsourcex86_64 Advisory build 0.23.0-3.el9_3 RHSA-2023:7879
Ubuntu focal opensc-pkcs11 Advisory build 0.20.0-3ubuntu0.1~esm4 USN-7346-3
Ubuntu jammy opensc-pkcs11 Advisory build 0.22.0-1ubuntu2+esm1 USN-7346-1
Amazon Linux AL2 opensci686 Listed in advisory Not stated ALAS2-2023-2323
Amazon Linux AL2 openscsrc Listed in advisory Not stated ALAS2-2023-2323
Amazon Linux AL2 openscx86_64 Listed in advisory Not stated ALAS2-2023-2323
Amazon Linux AL2023 openscaarch64 Listed in advisory Not stated ALAS2023-2023-417
Amazon Linux AL2023 openscsrc Listed in advisory Not stated ALAS2023-2023-417
Amazon Linux AL2023 openscx86_64 Listed in advisory Not stated ALAS2023-2023-417

Description

Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow compromise key generation, certificate loading, and other card management operations during enrollment.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

28

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.4 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSC 0 to < 0.24.0 (affected · semver)Default: unaffected redhat · cna
Red Hat Red Hat Enterprise Linux 8 0:0.20.0-7.el8_9 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 9 0:0.23.0-3.el9_3 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 7 Default: unknown redhat · cna

Weaknesses

1
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer (redhat · cna)

References

12

Provider assertions

2

redhat · cna

Opensc: multiple memory issues with pkcs15-init (enrollment tool)

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
39ce5a6882269bbb4720f963b5ac461816a8438d85ee2e00c756b0a3c15c7b03
Ingested
07 Nov 2026, 23:11:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected