CVE-2024-45619: Libopensc: incorrect handling length of buffers or files in libopensc
A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
Security readout for executives and security teams
Plain-English summary
This flaw affects OpenSC software used for smart cards and USB security tokens. A malicious card or USB device could trigger incorrect buffer handling when the system processes card responses. The impact is limited by needing physical device interaction, but it matters for environments using smart-card authentication or shared workstations.
Executive priority
Treat this as a targeted, physical-access risk rather than an internet-scale emergency. Prioritize environments where smart cards or USB security tokens are used for authentication, especially shared workstations, privileged admin endpoints, and regulated access-control workflows.
Technical view
CVE-2024-45619 is a CWE-120 buffer handling issue in OpenSC, OpenSC tools, PKCS#11 module, minidriver, CTK, and libopensc. Crafted APDU responses from a USB device or smart card can cause incorrect access to partially filled buffers. CVSS 3.1 is 4.3 with physical attack vector and low confidentiality, integrity, and availability impact.
Likely exposure
Exposure is most likely on systems using OpenSC/libopensc for smart-card or token workflows, including Red Hat Enterprise Linux 7, 8, 9, and 10 opensc packages. The source bundle does not provide exact affected or fixed version ranges.
Exploitation context
The provided sources do not show CISA KEV listing or active exploitation. The described attack requires a crafted USB device or smart card that can present malicious APDU responses, so risk is concentrated around physical access, untrusted tokens, and shared endpoint environments.
Researcher notes
The evidence identifies affected components and Red Hat product families, but the bundle does not include precise fixed versions. Do not assume exploit availability. Focus validation on installed OpenSC packages, smart-card middleware paths, and vendor advisories linked in the source bundle.
Mitigation direction
Review vendor guidance for OpenSC, Red Hat, and Debian package fixes.
Update opensc/libopensc packages where vendor security updates are available.
Restrict use of untrusted smart cards, USB tokens, and readers.
Prioritize endpoints using smart-card authentication or token middleware.
Document any compensating controls for systems awaiting vendor fixes.
Validation and detection
Inventory systems with OpenSC, libopensc, PKCS#11, minidriver, or CTK installed.
Check Red Hat RHEL 7, 8, 9, and 10 opensc advisory status.
Review Debian LTS guidance if Debian-based systems are in scope.
Confirm endpoint policies limit untrusted smart-card and USB token use.
Verify package versions after updates through standard asset tooling.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-120: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-120 · source CWE mapping
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.