Debian dla-4965 : opensc - security update

medium Nessus Plugin ID 393769

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 12 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4965 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-4965-1 [email protected] https://www.debian.org/lts/security/ Andreas Henriksson December 04, 2026 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : opensc Version : 0.23.0-0.3+deb12u3 CVE ID : CVE-2025-13763 CVE-2025-49010 CVE-2025-66037 CVE-2025-66215 CVE-2026-10275 CVE-2026-103531

Several vulnerabilities have been discovered in OpenSC, an open-source smart card tools and middleware package.

CVE-2025-13763

Multiple uses of uninitialized variables were found in libopensc. A specially crafted USB device or smart card could trigger these issues, potentially resulting in information disclosure or an application crash.
Thanks to Matteo Marini and Aldo Ristori for reporting these issues.

CVE-2025-49010

A stack-based buffer overflow was discovered in the handling of GET RESPONSE APDUs. A specially crafted USB device or smart card could trigger this issue when a user or administrator accesses a token, potentially resulting in memory corruption.
Thanks to the OSS-Fuzz project for reporting this issue.

CVE-2025-66037

An out-of-bounds heap read was discovered in the handling of Subject Public Key Info (SPKI) data. A specially crafted input could trigger an out-of-bounds read, potentially resulting in an application crash or unexpected behaviour.
Thanks to Aldo Ristori for reporting this issue via OSS-Fuzz.

CVE-2025-66215

A stack-based buffer overflow was discovered in the Oberthur card driver. A specially crafted smart card could trigger an out-of-bounds write, potentially resulting in memory corruption or an application crash.
Thanks to the OSS-Fuzz project for reporting this issue.

CVE-2026-10275

A buffer overflow was discovered in the pkcs11-tool utility, in the test_kpgen_certwrite function. Processing specially crafted input could trigger this issue, potentially resulting in memory corruption.
Thanks to HMF2021 (hippofu999) for reporting this issue.

CVE-2026-103531

A stack-based buffer overflow was discovered in the SETCOS card driver, in the setcos_construct_fci_44 function. Insufficient validation of attribute lengths could allow an attacker to trigger an out-of-bounds write, potentially resulting in memory corruption or an application crash.
Thanks to wanglanlan for reporting this issue through fuzzing.

For Debian 12 bookworm, these problems have been fixed in version 0.23.0-0.3+deb12u3.

We recommend that you upgrade your opensc packages.

For the detailed security status of opensc please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/opensc

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the opensc packages.

See Also

https://packages.debian.org/source/bookworm/opensc

https://security-tracker.debian.org/tracker/CVE-2025-13763

https://security-tracker.debian.org/tracker/CVE-2025-49010

https://security-tracker.debian.org/tracker/CVE-2025-66037

https://security-tracker.debian.org/tracker/CVE-2025-66215

https://security-tracker.debian.org/tracker/CVE-2026-10275

https://security-tracker.debian.org/tracker/CVE-2026-103531

https://security-tracker.debian.org/tracker/source-package/opensc

Plugin Details

Severity: Medium

ID: 393769

File Name: debian_DLA-4965.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.02

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2026-103531

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 6.1

Vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2025-66215

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 2

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:opensc-pkcs11, p-cpe:/a:debian:debian_linux:opensc

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/4/2026

Vulnerability Publication Date: 3/30/2026

Reference Information

CVE: CVE-2025-13763, CVE-2025-49010, CVE-2025-66037, CVE-2025-66215, CVE-2026-10275, CVE-2026-103531

IAVA: 2026-A-0303