CVE-2024-45618 in Opensc-Project Opensc and 1 more product
A vulnerability was found in pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires physical access, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Opensc-Project | Opensc | — |
| Redhat | Enterprise Linux | 7.0 8.0 9.0 |
| Opensc Project | Opensc | < 0.26.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A vulnerability was found in pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-45618 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-213586-L |
| CVSS vector | CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| Published | 2024-09-03 |
| Last modified | 2026-11-25 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-457: CWE-457
CWE-908: CWE-908
Analysis AI-written, not human-reviewed
A vulnerability in pkcs15-init in OpenSC allows an attacker to exploit insufficient or missing checking of return values, leading to unexpected behavior with uninitialized variables. This can be triggered by a crafted USB Device or Smart Card presenting a specially crafted response to APDUs.
An attacker can exploit this vulnerability by using a specially crafted USB Device or Smart Card that sends a malicious APDU response. The lack of proper validation in pkcs15-init can lead to the system processing uninitialized variables, potentially leading to arbitrary code execution or other security issues.
Questions
What is CVE-2024-45618?
A vulnerability in pkcs15-init in OpenSC allows an attacker to exploit insufficient or missing checking of return values, leading to unexpected behavior with uninitialized variables. This can be triggered by a crafted USB Device or Smart Card presenting a specially crafted response to APDUs.
What is the CVSS score for CVE-2024-45618?
CVE-2024-45618 has CVSS 3.9 (Low). Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.4%.
Is CVE-2024-45618 actively exploited?
No confirmed active exploitation of CVE-2024-45618 as of 2026-11-26.
How do I remediate CVE-2024-45618?
Priority: IMMEDIATE. Advisory: https://access.redhat.com/security/cve/CVE-2024-45618 PSIRT: [email protected]
What systems are affected by CVE-2024-45618?
CVE-2024-45618 affects Opensc-Project Opensc; Redhat Enterprise Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Opensc-Project","product":"Opensc","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-25.