Debian Package Tracker
Register | Log in
Subscribe

opensc

Smart card utilities with support for PKCS#15 compatible cards

Choose email to subscribe with

general
  • source: opensc (main)
  • version: 0.27.1-1
  • maintainer: Debian OpenSC Maintainers (archive) (DMD)
  • uploaders: Eric Dorland [DMD]
  • arch: any
  • std-ver: 4.7.0
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.21.0-1
  • o-o-sec: 0.21.0-1+deb11u1
  • oldstable: 0.23.0-0.3+deb12u2
  • stable: 0.26.1-2
  • testing: 0.27.0~rc2-1
  • unstable: 0.27.1-1
versioned links
  • 0.21.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.21.0-1+deb11u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.23.0-0.3+deb12u2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.26.1-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.27.0~rc2-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.27.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • opensc (12 bugs: 0, 10, 2, 0)
  • opensc-pkcs11 (3 bugs: 0, 3, 0, 0)
action needed
1 security issue in forky high

There is 1 open security issue in forky.

1 important issue:
  • CVE-2025-66037: OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields() allocates a zero-length buffer and then reads one byte past the end of that allocation. This issue has been patched in version 0.27.0.
Created: 2026-03-31 Last update: 2026-04-03 14:32
5 security issues in bullseye high

There are 5 open security issues in bullseye.

5 important issues:
  • CVE-2025-13763:
  • CVE-2025-49010: OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
  • CVE-2025-66037: OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields() allocates a zero-length buffer and then reads one byte past the end of that allocation. This issue has been patched in version 0.27.0.
  • CVE-2025-66038: OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given tag. In compact-TLV, a single byte encodes the tag (high nibble) and value length (low nibble). With a 1-byte buffer {0x0A}, the encoded element claims tag=0 and length=10 but no value bytes follow. Calling sc_compacttlv_find_tag with search tag 0x00 returns a pointer equal to buf+1 and outlen=10 without verifying that the claimed value length fits within the remaining buffer. In cases where the sc_compacttlv_find_tag is provided untrusted data (such as being read from cards/files), attackers may be able to influence it to return out-of-bounds pointers leading to downstream memory corruption when subsequent code tries to dereference the pointer. This issue has been patched in version 0.27.0.
  • CVE-2025-66215: OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
Created: 2026-03-31 Last update: 2026-04-03 14:32
2 bugs tagged patch in the BTS normal
The BTS contains patches fixing 2 bugs, consider including or untagging them.
Created: 2026-03-31 Last update: 2026-04-04 19:30
Depends on packages which need a new maintainer normal
The packages that opensc depends on which need a new maintainer are:
  • docbook-xsl (#802370)
    • Build-Depends: docbook-xsl
Created: 2023-09-01 Last update: 2026-04-04 17:30
lintian reports 3 warnings normal
Lintian reports 3 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2026-03-01 Last update: 2026-03-01 00:00
5 low-priority security issues in trixie low

There are 5 open security issues in trixie.

5 issues left for the package maintainer to handle:
  • CVE-2025-13763: (needs triaging)
  • CVE-2025-49010: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
  • CVE-2025-66037: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields() allocates a zero-length buffer and then reads one byte past the end of that allocation. This issue has been patched in version 0.27.0.
  • CVE-2025-66038: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given tag. In compact-TLV, a single byte encodes the tag (high nibble) and value length (low nibble). With a 1-byte buffer {0x0A}, the encoded element claims tag=0 and length=10 but no value bytes follow. Calling sc_compacttlv_find_tag with search tag 0x00 returns a pointer equal to buf+1 and outlen=10 without verifying that the claimed value length fits within the remaining buffer. In cases where the sc_compacttlv_find_tag is provided untrusted data (such as being read from cards/files), attackers may be able to influence it to return out-of-bounds pointers leading to downstream memory corruption when subsequent code tries to dereference the pointer. This issue has been patched in version 0.27.0.
  • CVE-2025-66215: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-03-31 Last update: 2026-04-03 14:32
5 low-priority security issues in bookworm low

There are 5 open security issues in bookworm.

5 issues left for the package maintainer to handle:
  • CVE-2025-13763: (needs triaging)
  • CVE-2025-49010: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
  • CVE-2025-66037: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields() allocates a zero-length buffer and then reads one byte past the end of that allocation. This issue has been patched in version 0.27.0.
  • CVE-2025-66038: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given tag. In compact-TLV, a single byte encodes the tag (high nibble) and value length (low nibble). With a 1-byte buffer {0x0A}, the encoded element claims tag=0 and length=10 but no value bytes follow. Calling sc_compacttlv_find_tag with search tag 0x00 returns a pointer equal to buf+1 and outlen=10 without verifying that the claimed value length fits within the remaining buffer. In cases where the sc_compacttlv_find_tag is provided untrusted data (such as being read from cards/files), attackers may be able to influence it to return out-of-bounds pointers leading to downstream memory corruption when subsequent code tries to dereference the pointer. This issue has been patched in version 0.27.0.
  • CVE-2025-66215: (needs triaging) OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-03-31 Last update: 2026-04-03 14:32
debian/patches: 2 patches to forward upstream low

Among the 2 debian patches available in version 0.27.1-1 of the package, we noticed the following issues:

  • 2 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-04-01 07:30
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.7.0).
Created: 2021-08-18 Last update: 2026-04-01 00:00
testing migrations
  • This package will soon be part of the auto-openssl transition. You might want to ensure that your package is ready for it. You can probably find supplementary information in the debian-release archives or in the corresponding release.debian.org bug.
  • excuses:
    • Migration status for opensc (0.27.0~rc2-1 to 0.27.1-1): Waiting for test results or another package, or too young (no action required now - check later)
    • Issues preventing migration:
    • ∙ ∙ Too young, only 4 of 5 days old
    • Additional info (not blocking):
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/o/opensc.html
    • ∙ ∙ Reproduced on amd64
    • ∙ ∙ Reproduced on arm64
    • ∙ ∙ Reproduced on armhf
    • ∙ ∙ Reproduced on i386
    • ∙ ∙ Reproduced on ppc64el
    • Not considered
news
[rss feed]
  • [2026-03-31] Accepted opensc 0.27.1-1 (source) into unstable (Eric Dorland)
  • [2026-03-20] opensc 0.27.0~rc2-1 MIGRATED to testing (Debian testing watch)
  • [2026-03-15] Accepted opensc 0.27.0~rc2-1 (source) into unstable (Eric Dorland)
  • [2026-03-04] opensc 0.27.0~rc1-1 MIGRATED to testing (Debian testing watch)
  • [2026-02-27] Accepted opensc 0.27.0~rc1-1 (source) into unstable (Eric Dorland)
  • [2025-09-11] opensc 0.26.1-3 MIGRATED to testing (Debian testing watch)
  • [2025-09-05] Accepted opensc 0.26.1-3 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2025-06-11] opensc 0.26.1-2 MIGRATED to testing (Debian testing watch)
  • [2025-06-06] Accepted opensc 0.26.1-2 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2025-03-28] opensc 0.26.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-03-22] Accepted opensc 0.26.1-1 (source) into unstable (Eric Dorland)
  • [2025-01-04] Accepted opensc 0.23.0-0.3+deb12u2 (source) into proposed-updates (Debian FTP Masters) (signed by: Guilhem Moulin)
  • [2024-12-28] Accepted opensc 0.21.0-1+deb11u1 (source) into oldstable-security (Guilhem Moulin)
  • [2024-12-28] opensc 0.26.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-12-23] Accepted opensc 0.26.0-1 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2024-12-23] Accepted opensc 0.25.1-2.1 (source) into unstable (Guilhem Moulin) (signed by: bage@debian.org)
  • [2024-09-04] opensc 0.25.1-2 MIGRATED to testing (Debian testing watch)
  • [2024-08-29] Accepted opensc 0.25.1-2 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2024-07-09] opensc 0.25.1-1 MIGRATED to testing (Debian testing watch)
  • [2024-07-04] Accepted opensc 0.25.1-1 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2024-02-24] opensc 0.25.0~rc1-1 MIGRATED to testing (Debian testing watch)
  • [2024-02-18] Accepted opensc 0.25.0~rc1-1 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2023-12-02] Accepted opensc 0.23.0-0.3+deb12u1 (source) into proposed-updates (Debian FTP Masters) (signed by: bage@debian.org)
  • [2023-11-27] Accepted opensc 0.19.0-1+deb10u3 (source) into oldoldstable (Guilhem Moulin)
  • [2023-11-15] opensc 0.24.0~rc1-1 MIGRATED to testing (Debian testing watch)
  • [2023-11-10] Accepted opensc 0.24.0~rc1-1 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2023-11-08] Accepted opensc 0.23.0-2 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2023-09-02] opensc 0.23.0-1 MIGRATED to testing (Debian testing watch)
  • [2023-08-27] Accepted opensc 0.23.0-1 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2023-06-20] Accepted opensc 0.19.0-1+deb10u2 (source) into oldoldstable (Guilhem Moulin)
  • 1
  • 2
bugs [bug history graph]
  • all: 16
  • RC: 0
  • I&N: 14
  • M&W: 2
  • F&P: 0
  • patch: 2
links
  • homepage
  • lintian (0, 3)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • screenshots
  • debian patches
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.27.0~rc1-1
  • 12 bugs (2 patches)

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing