---
id: CVE-2024-45618
title: A vulnerability was found in pkcs15-init in OpenSC
summary: >-
  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 …
severity: low
cvss: 3.9
cvssVector: 'CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-457
  - CWE-908
vendor: opensc_project
product: opensc
affected:
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - opensc < 0.26.0
patched:
  - opensc 0.26.0
published: '2024-09-03'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45618'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45618'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2309287'
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00311
epssPercentile: 0.21476
ingestedAt: '2026-06-29T13:24:33.963Z'
---

## Overview

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.

## Affected

- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `opensc < 0.26.0`

## Remediation

Upgrade past the affected range:

- `opensc 0.26.0`
