CVE-2020-26572

Source
https://cve.org/CVERecord?id=CVE-2020-26572
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26572.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-26572
Downstream
Related
Published
2020-10-06T02:15:13.130Z
Modified
2026-07-08T19:02:57.371701Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "33"
                },
                {
                    "last_affected": "33"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora",
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/opensc/opensc

Affected ranges

Type
GIT
Repo
https://github.com/opensc/opensc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.20.0"
        }
    ]
}

Affected versions

0.*
0.12.2
0.12.2-rc1
0.13.0
0.13.0pre1
0.13.0rc1
0.14.0
0.14.0rc2
0.14.0rtm
0.15.0
0.16.0
0.17.0
0.17.0-rc1
0.17.0-rc2
0.18.0
0.18.0-rc1
0.18.0-rc2
0.19.0
0.19.0-rc1
0.20.0
0.20.0-rc1
0.20.0-rc2
0.20.0-rc3
0.20.0-rc4
v0.*
v0.12.2
v0.16.0-pre1

Database specific

vanir_signatures_modified
"2026-07-08T19:02:57Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26572.json"
vanir_signatures
[
    {
        "id": "CVE-2020-26572-70cc3a8b",
        "digest": {
            "line_hashes": [
                "58466695333159636353363207331574836164",
                "202577461546426578785310313971106836046",
                "284255860012804969870862664979029655002",
                "139437758083297902526057034584382767580"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817",
        "deprecated": false,
        "target": {
            "file": "src/libopensc/card-tcos.c"
        }
    },
    {
        "id": "CVE-2020-26572-cb06db58",
        "digest": {
            "function_hash": "114247950551260681955303043934807423823",
            "length": 1581.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817",
        "deprecated": false,
        "target": {
            "function": "tcos_decipher",
            "file": "src/libopensc/card-tcos.c"
        }
    }
]