🛡️ CVE-2023-40661 — enterprise-linux

🟡 CVSS 5.4 — Medium ✅ No Known Exploit CWE-119 NVD
5.4
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached with physical access to the device, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability high.

Weakness class

CVE-2023-40661 is classified as CWE-119: Improper Restriction of Operations within Memory Buffer Bounds. A read or write is performed without confirming it stays inside the allocated buffer, corrupting adjacent memory.

Affected software

CVE-2023-40661 is recorded against 2 packages.

  • enterprise-linux
  • opensc (fixed in 0.23.0)

Timeline and source

Published on 6 November 2023 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

access.redhat.com
access.redhat.com
access.redhat.com
bugzilla.redhat.com
github.com
github.com
github.com
www.openwall.com
access.redhat.com
access.redhat.com
access.redhat.com
bugzilla.redhat.com
github.com
github.com
github.com

CVE-2023-40661 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 5.4
CVSS Vector CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
CWE CWE-119
Public Exploit ✅ No
Source NVD
Published 2023-11-06
Updated 2026-08-11
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
enterprise-linux
opensc 0.23.0

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in enterprise-linux

CVE-2023-40661 is rated CVSS 5.4 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.