Skip to content
OpenAdvisories
Medium openSUSE-SU-2026:21873-1 2 CVEs

Security update for opensc

Published Sep 17, 2026 · Updated Sep 25, 2026

Summary

This update for opensc fixes the following issues:

- 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).

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 opensc 0.26.1-160000.5.1

Vulnerabilities 2

  • Medium 5.0

    OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow

    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…

  • Low 3.8

    OpenSC < 0.27.0 Buffer Overrun in do_key_value() via profile.c

    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 …

References

  • report
    https://bugzilla.suse.com/1266963
  • report
    https://bugzilla.suse.com/1267246
  • web
    https://www.suse.com/security/cve/CVE-2026-10275
  • web
    https://www.suse.com/security/cve/CVE-2026-40528