Every CVE Search/ Get API key

CVE-2020-26570

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer...

5.5 MediumFix available

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.37%Down 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
CVE-2020-26570
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
2.1 LowAV:L/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
CVE-2020-26570
Updated
2026-11-02
EUVDEUVD-2020-19115 No score

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
EUVD-2020-19115
Updated
2026-11-03
GitHub AdvisoriesGHSA-547v-83cc-5hqg No score

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer...

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
GHSA-547v-83cc-5hqg
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2020-26570 5.5

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
ALPINE-CVE-2020-26570
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVAZL-6772 5.5

CVE-2020-26570 affecting package opensc for versions less than 0.22.0-1

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
AZL-6772
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 15 moreShow less
OSVBELL-CVE-2020-26570 5.5

CVE-2020-26570 does not affect BellSoft software

Record
BELL-CVE-2020-26570
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
CVE-2020-26570
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-26570 5.5

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
DEBIAN-CVE-2020-26570
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2021-1021 5.5

opensc security update

OpenSC provides a set of libraries and utilities to work with smart cards. Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as authentication, mail encryption and digital signatures. OpenSC implements the standard APIs to smart cards, e.g. PKCS#11 API, Windows' Smart Card Minidriver and macOS Tokend.\r\n\r\n Security Fix(es):\r\n\r\n The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.(CVE-2020-26570)\r\n\r\n

Record
OESA-2021-1021
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2021:1600 6.4

Red Hat Security Advisory: opensc security, bug fix, and enhancement update

Record
RHSA-2021:1600
CVSS 3.1
6.4 MediumCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2021:1600 6.4

Moderate: opensc security, bug fix, and enhancement update

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.

Security Fix(es):

  • opensc: heap-based buffer overflow in sc_oberthur_read_file (CVE-2020-26570)

  • opensc: stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init (CVE-2020-26571)

  • opensc: stack-based buffer overflow in tcos_decipher (CVE-2020-26572)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.4 Release Notes linked from the References section.

Record
RLSA-2021:1600
CVSS 3.1
6.4 MediumCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-26570 5.5

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

Record
UBUNTU-CVE-2020-26570
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2021:1600 No score

Moderate: opensc security, bug fix, and enhancement update

The OpenSC set of libraries and utilities provides support for working with smart cards. OpenSC focuses on cards that support cryptographic operations and enables their use for authentication, mail encryption, or digital signatures.

Security Fix(es):

  • opensc: heap-based buffer overflow in sc_oberthur_read_file (CVE-2020-26570)

  • opensc: stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init (CVE-2020-26571)

  • opensc: stack-based buffer overflow in tcos_decipher (CVE-2020-26572)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:1600
Updated
2026-11-02
OSVMGASA-2021-0037 No score

Updated opensc packages fix security vulnerabilities

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file (CVE-2020-26570).

The gemsafe GPK smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init (CVE-2020-26571).

The TCOS smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in tcos_decipher (CVE-2020-26572).

Record
MGASA-2021-0037
Updated
2026-11-02
OSVopenSUSE-SU-2021:0565-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2019-15945: Fixed an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746).
  • CVE-2019-15946: Fixed an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)
  • CVE-2019-19479: Fixed an incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)
  • CVE-2019-19480: Fixed an improper free operation in sc_pkcs15_decode_prkdf_entry (bsc#1158307).
  • CVE-2019-20792: Fixed a double free in coolkey_free_private_data (bsc#1170809).
  • CVE-2020-26570: Fixed a buffer overflow in sc_oberthur_read_file (bsc#1177364).
  • CVE-2020-26571: Fixed a stack-based buffer overflow in gemsafe GPK smart card software driver (bsc#1177380)
  • CVE-2020-26572: Fixed a stack-based buffer overflow in tcos_decipher (bsc#1177378).

This update was imported from the SUSE:SLE-15-SP1:Update update project.

Record
openSUSE-SU-2021:0565-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11123-1 No score

opensc-0.21.0-2.2 on GA media

These are all security issues fixed in the opensc-0.21.0-2.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11123-1
Updated
2026-11-02
OSVSUSE-SU-2021:0998-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2020-26571: gemsafe GPK smart card software driver stack-based buffer overflow (bsc#1177380)
  • CVE-2019-15946: out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)
  • CVE-2019-15945: out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746)
  • CVE-2019-19479: incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)
  • CVE-2020-26572: Prevent out of bounds write (bsc#1177378)
  • CVE-2020-26570: Fix buffer overflow in sc_oberthur_read_file (bsc#1177364)
Record
SUSE-SU-2021:0998-1
Updated
2026-11-02
OSVSUSE-SU-2021:1168-1 No score

Security update for opensc

This update for opensc fixes the following issues:

  • CVE-2019-15945: Fixed an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746).
  • CVE-2019-15946: Fixed an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)
  • CVE-2019-19479: Fixed an incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)
  • CVE-2019-19480: Fixed an improper free operation in sc_pkcs15_decode_prkdf_entry (bsc#1158307).
  • CVE-2019-20792: Fixed a double free in coolkey_free_private_data (bsc#1170809).
  • CVE-2020-26570: Fixed a buffer overflow in sc_oberthur_read_file (bsc#1177364).
  • CVE-2020-26571: Fixed a stack-based buffer overflow in gemsafe GPK smart card software driver (bsc#1177380)
  • CVE-2020-26572: Fixed a stack-based buffer overflow in tcos_decipher (bsc#1177378).
Record
SUSE-SU-2021:1168-1
Updated
2026-11-02
OSVSUSE-SU-2022:1041-1 No score

Security update for opensc

This update for opensc fixes the following issues:

Security issues fixed:

  • CVE-2021-42780: Fixed use after return in insert_pin() (bsc#1192005).
  • CVE-2021-42779: Fixed use after free in sc_file_valid() (bsc#1191992).
  • CVE-2021-42781: Fixed multiple heap buffer overflows in pkcs15-oberthur.c (bsc#1192000).
  • CVE-2021-42782: Stack buffer overflow issues in various places (bsc#1191957).
  • CVE-2019-6502: Fixed a memory leak in sc_context_create() (bsc#1122756).
  • CVE-2020-26570: Fixed a heap based buffer overflow in sc_oberthur_read_file (bsc#1177364).
  • CVE-2020-26572: Prevent out of bounds write (bsc#1177378)
  • CVE-2020-26571: gemsafe GPK smart card software driver stack-based buffer overflow (bsc#1177380)
  • CVE-2019-15946: out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)
  • CVE-2019-19479: incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)
  • CVE-2019-15945: Fixed an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746).
  • CVE-2019-19481: Fixed an improper handling of buffer limits for CAC certificates (bsc#1158305).
  • CVE-2019-20792: Fixed a double free in coolkey_free_private_data (bsc#1170809).

Non-security issues fixed:

  • Fixes segmentation fault in 'pkcs11-tool.c'. (bsc#1114649)
Record
SUSE-SU-2022:1041-1
Updated
2026-11-02
OSVUSN-5281-1 No score

opensc vulnerabilities

It was discovered that some OpenSC smart card drivers mishandled memory when performing certain decoding operations. An attacker could possibly use this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2019-15945, CVE-2019-15946)

It was discovered that some OpenSC smart card drivers had buffer overflow vulnerabilities. An attacker could possibly use this issue to cause a denial of service or other unspecified impact. (CVE-2020-26570, CVE-2020-26571, CVE-2020-26572)

Record
USN-5281-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
opensc
Alpine:v3.12
before 0.20.0-r2
0.20.0-r2
opensc
Alpine:v3.13
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.14
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.15
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.16
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.17
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.18
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.19
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.20
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.21
before 0.21.0-r0
0.21.0-r0
Show 31 moreShow less
Affected packages
PackageAffectedFixed
opensc
Alpine:v3.22
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.23
before 0.21.0-r0
0.21.0-r0
opensc
Alpine:v3.24
before 0.21.0-r0
0.21.0-r0
opensc
AlmaLinux:8
From an advisory covering 3 CVEs
before 0.20.0-4.el8
0.20.0-4.el8
opensc
Azure Linux:2
before 0.22.0-1
0.22.0-1
opensc
Debian:12
before 0.21.0-1
0.21.0-1
opensc
Debian:13
before 0.21.0-1
0.21.0-1
opensc
Debian:14
before 0.21.0-1
0.21.0-1
opensc
Debian:9
From an advisory covering 6 CVEs
before 0.16.0-3+deb9u2, plus listed versions
0.16.0-30.16.0-3+deb9u1
0.16.0-3+deb9u2
opensc
Mageia:7
From an advisory covering 3 CVEs
before 0.21.0-1.mga7
0.21.0-1.mga7
opensc
openEuler:20.03-LTS
before 0.20.0-5.oe1
0.20.0-5.oe1
opensc
openEuler:20.03-LTS-SP1
before 0.20.0-5.oe1
0.20.0-5.oe1
opensc
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.20.0-4.el8
0:0.20.0-4.el8
opensc-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.20.0-4.el8
0:0.20.0-4.el8
opensc-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.20.0-4.el8
0:0.20.0-4.el8
opensc
Rocky Linux:8
From an advisory covering 3 CVEs
before 0:0.20.0-4.el8
0:0.20.0-4.el8
opensc
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 6 CVEs
before 0.13.0-3.11.1
0.13.0-3.11.1
opensc
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 6 CVEs
before 0.13.0-3.11.1
0.13.0-3.11.1
opensc
SUSE:Linux Enterprise Module for Basesystem 15 SP2
From an advisory covering 8 CVEs
before 0.19.0-3.7.1
0.19.0-3.7.1
opensc
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 13 CVEs
before 0.18.0-150000.3.23.1
0.18.0-150000.3.23.1
opensc
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 13 CVEs
before 0.18.0-150000.3.23.1
0.18.0-150000.3.23.1
opensc
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 13 CVEs
before 0.18.0-150000.3.23.1
0.18.0-150000.3.23.1
opensc
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 13 CVEs
before 0.18.0-150000.3.23.1
0.18.0-150000.3.23.1
opensc
Ubuntu:Pro:16.04:LTS
before 0.15.0-1ubuntu1+esm1, plus listed versions
0.15.0-1ubuntu1
0.15.0-1ubuntu1+esm1
opensc
Ubuntu:Pro:18.04:LTS
before 0.17.0-3ubuntu0.1~esm1, plus listed versions
0.17.0-10.17.0-20.17.0-2build10.17.0-3
0.17.0-3ubuntu0.1~esm1
opensc
Ubuntu:Pro:20.04:LTS
before 0.20.0-3ubuntu0.1~esm1, plus listed versions
0.19.0-20.20.0-10.20.0-20.20.0-3
0.20.0-3ubuntu0.1~esm1
opensc
Ubuntu:Pro:16.04:LTS
From an advisory covering 5 CVEs
before 0.15.0-1ubuntu1+esm1, plus listed versions
0.15.0-1ubuntu1
0.15.0-1ubuntu1+esm1
opensc
Ubuntu:Pro:18.04:LTS
From an advisory covering 5 CVEs
before 0.17.0-3ubuntu0.1~esm1, plus listed versions
0.17.0-10.17.0-20.17.0-2build10.17.0-3
0.17.0-3ubuntu0.1~esm1
opensc
Ubuntu:Pro:20.04:LTS
From an advisory covering 5 CVEs
before 0.20.0-3ubuntu0.1~esm1, plus listed versions
0.19.0-20.20.0-10.20.0-20.20.0-3
0.20.0-3ubuntu0.1~esm1
opensc
openSUSE:Leap 15.2
From an advisory covering 8 CVEs
before 0.19.0-lp152.3.3.1
0.19.0-lp152.3.3.1
opensc
openSUSE:Tumbleweed
From an advisory covering 22 CVEs
before 0.21.0-2.2
0.21.0-2.2

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-26570 is a medium vulnerability (CVSS 5.5) in Opensc Project Opensc, published October 6, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.37%, the 31st percentile. Fixed in opensc 0.20.0-r2.

References

Show 86 moreShow less
MoveEnter Open