Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

SUSE-SU-2026:2697-1

Опубликовано: 30 июн. 2026
Источник: suse-cvrf

Описание

Security update for opensc

This update for opensc fixes the following issues

  • CVE-2025-49010: stack-buffer-overflow via crafted smart card or USB device responses (bsc#1261214).
  • CVE-2025-66037: crafted input can cause an out-of-bounds read (bsc#1261218).
  • CVE-2025-66038: improper compact-TLV length validation can lead to crash or unexpected behavior (bsc#1261219).
  • CVE-2025-66215: crafted smart card or USB device can cause a stack-buffer-overflow write (bsc#1261220).
  • CVE-2026-10275: global buffer overflow during key pair generation tests due to missing input validation (bsc#1267246).
  • CVE-2026-40528: stack and heap buffer overrun in the do_key_value() function due to missing length check allows for memory corruption via a crafted profile configuration file (bsc#1266963).

Список пакетов

Image SLES15-SP6-SAP-Hardened-BYOS
opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-BYOS-EC2
opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-EC2
opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP7
opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Server 15 SP6-LTSS
opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6
opensc-0.22.0-150600.11.11.1

Описание

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.


Затронутые продукты
Image SLES15-SP6-SAP-Hardened-BYOS-EC2:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-BYOS:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-EC2:opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP7:opensc-0.22.0-150600.11.11.1

Ссылки

Описание

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.


Затронутые продукты
Image SLES15-SP6-SAP-Hardened-BYOS-EC2:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-BYOS:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-EC2:opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP7:opensc-0.22.0-150600.11.11.1

Ссылки

Описание

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.


Затронутые продукты
Image SLES15-SP6-SAP-Hardened-BYOS-EC2:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-BYOS:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-EC2:opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP7:opensc-0.22.0-150600.11.11.1

Ссылки

Описание

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.


Затронутые продукты
Image SLES15-SP6-SAP-Hardened-BYOS-EC2:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-BYOS:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-EC2:opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP7:opensc-0.22.0-150600.11.11.1

Ссылки

Описание

A flaw has been found in OpenSC up to 0.26.1. This affects the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. This manipulation causes buffer overflow. The attack is possible to be carried out remotely. The complexity of an attack is rather high. It is indicated that the exploitability is difficult. The exploit has been published and may be used. Patch name: 814f745b3b6d100295f65f1935edd33d520d33ab. It is recommended to apply a patch to fix this issue.


Затронутые продукты
Image SLES15-SP6-SAP-Hardened-BYOS-EC2:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-BYOS:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-EC2:opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP7:opensc-0.22.0-150600.11.11.1

Ссылки

Описание

OpenSC before 0.27.0, fixed in commit 0358817, contains a stack and heap buffer overrun vulnerability in the do_key_value() function in src/pkcs15init/profile.c that allows attackers to corrupt memory by supplying a crafted profile configuration file. During pkcs15-init invocation, a key value entry beginning with '=' followed by more than sizeof(keybuf) characters is copied into keybuf via memcpy without a length check, causing both stack and heap buffer overruns.


Затронутые продукты
Image SLES15-SP6-SAP-Hardened-BYOS-EC2:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-BYOS:opensc-0.22.0-150600.11.11.1
Image SLES15-SP6-SAP-Hardened-EC2:opensc-0.22.0-150600.11.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP7:opensc-0.22.0-150600.11.11.1

Ссылки
Уязвимость SUSE-SU-2026:2697-1