---
id: CVE-2024-45620
title: A vulnerability was found in the pkcs15-init tool in OpenSC
summary: >-
  A vulnerability was found in the pkcs15-init tool 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. When buffers are partially filled with
  data…
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-120
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-45620'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45620'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2309289'
    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.00318
epssPercentile: 0.22099
ingestedAt: '2026-06-29T13:24:33.965Z'
---

## Overview

A vulnerability was found in the pkcs15-init tool 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. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.

## 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`
