# CVE-2024-45617: opensc: A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module,minidriver, and CTK

CVE-2024-45617 is fixed in 4 products on 1 platform, first by DEBIAN-CVE-2024-45617, released September 3, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-45617
- Priority: Routine
- CVSS: 3.9 (Medium)
- EPSS: 0.0033
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 3, 2024

## Description

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module,minidriver, and CTK. An attacker could use a crafted USB Device or SmartCard, which would present the system with a specially crafted response toAPDUs.Insufficient or missing checking of return values of functions leads tounexpected work with variables that have not been initialized.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | opensc Debian 12.15 (bookworm) | 0.23.0-0.3+deb12u2 | [DEBIAN-CVE-2024-45617](https://patchblox.com/security/data/fix/linux/debian-cve-2024-45617.md) | Sep 3, 2024 |
| Linux | opensc Debian 13.5 (trixie) | 0.25.1-2.1 | [DEBIAN-CVE-2024-45617](https://patchblox.com/security/data/fix/linux/debian-cve-2024-45617.md) | Sep 3, 2024 |
| Linux | opensc Debian 14 | 0.25.1-2.1 | [DEBIAN-CVE-2024-45617](https://patchblox.com/security/data/fix/linux/debian-cve-2024-45617.md) | Sep 3, 2024 |
| Linux | opensc Ubuntu 20.04 LTS (focal) | 0.20.0-3ubuntu0.1~esm4 | [opensc 0.20.0-3ubuntu0.1~esm4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-opensc-0.20.0-3ubuntu0.1-esm4.md) | Sep 10, 2024 |
| Linux | opensc Ubuntu 22.04.1 LTS (jammy) | 0.22.0-1ubuntu2+esm1 | [opensc 0.22.0-1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-opensc-0.22.0-1ubuntu2-esm1.md) | Sep 10, 2024 |
| Linux | opensc Ubuntu 24.04.5 LTS (noble) | 0.25.0~rc1-1ubuntu0.1~esm1 | [opensc 0.25.0~rc1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-opensc-0.25.0-rc1-1ubuntu0.1-esm1.md) | Sep 10, 2024 |
| Linux | opensc Ubuntu 24.10 (oracular) | 0.25.1-2ubuntu1.1 | [opensc 0.25.1-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-opensc-0.25.1-2ubuntu1.1.md) | Jan 16, 2026 |
| Linux | opensc amzn 2023 | 0.24.0-1.amzn2023.0.4 | [ALAS2023-2024-775](https://patchblox.com/security/data/fix/linux/alas2023-2024-775.md) | Dec 5, 2024 |
| Linux | opensc opensuse-leap 15.6 | 0.22.0-150600.11.3.1 | [SUSE-SU-2024:3444-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3444-1.md) | Sep 25, 2024 |
| Linux | opensc sles 15.6 | 0.22.0-150600.11.3.1 | [SUSE-SU-2024:3444-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3444-1.md) | Sep 25, 2024 |
| Linux | opensc-debuginfo amzn 2023 | 0.24.0-1.amzn2023.0.4 | [ALAS2023-2024-775](https://patchblox.com/security/data/fix/linux/alas2023-2024-775.md) | Dec 5, 2024 |
| Linux | opensc-debugsource amzn 2023 | 0.24.0-1.amzn2023.0.4 | [ALAS2023-2024-775](https://patchblox.com/security/data/fix/linux/alas2023-2024-775.md) | Dec 5, 2024 |
| Linux | opensc-pkcs11 Ubuntu 20.04 LTS (focal) | 0.20.0-3ubuntu0.1~esm4 | [opensc-pkcs11 0.20.0-3ubuntu0.1~esm4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-opensc-pkcs11-0.20.0-3ubuntu0.1-esm4.md) | Sep 10, 2024 |
| Linux | opensc-pkcs11 Ubuntu 22.04.1 LTS (jammy) | 0.22.0-1ubuntu2+esm1 | [opensc-pkcs11 0.22.0-1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-opensc-pkcs11-0.22.0-1ubuntu2-esm1.md) | Sep 10, 2024 |
| Linux | opensc-pkcs11 Ubuntu 24.04.5 LTS (noble) | 0.25.0~rc1-1ubuntu0.1~esm1 | [opensc-pkcs11 0.25.0~rc1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-opensc-pkcs11-0.25.0-rc1-1ubuntu0.1-esm1.md) | Sep 10, 2024 |
| Linux | opensc-pkcs11 Ubuntu 24.10 (oracular) | 0.25.1-2ubuntu1.1 | [opensc-pkcs11 0.25.1-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-opensc-pkcs11-0.25.1-2ubuntu1.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T19:38:12Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
