CVE-2019-15946

Source
https://cve.org/CVERecord?id=CVE-2019-15946
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15946.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-15946
Downstream
Related
Published
2019-09-05T17:15:12.047Z
Modified
2026-07-08T20:15:18.768191Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Octet string in asn1decodeentry in libopensc/asn1.c.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "vendor_product": "debian:debian_linux",
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "31"
                },
                {
                    "last_affected": "31"
                }
            ],
            "vendor_product": "fedoraproject:fedora",
            "source": "CPE_STRING"
        }
    ]
}
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
{
    "cpe": "cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.19.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

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
v0.*
v0.12.2
v0.16.0-pre1

Database specific

vanir_signatures_modified
"2026-07-08T20:15:18Z"
vanir_signatures
[
    {
        "target": {
            "file": "src/libopensc/asn1.c"
        },
        "id": "CVE-2019-15946-474477e2",
        "digest": {
            "line_hashes": [
                "144373587500690818507003904206410356003",
                "148102426093319846627226247161866438541",
                "152613503459311009974684643923559563409",
                "189033476452025105233726194714004011925"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/opensc/opensc/commit/a3fc7693f3a035a8a7921cffb98432944bb42740"
    },
    {
        "target": {
            "function": "asn1_decode_entry",
            "file": "src/libopensc/asn1.c"
        },
        "id": "CVE-2019-15946-762eb016",
        "digest": {
            "function_hash": "261759861244261629003110721538662186476",
            "length": 4599.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/opensc/opensc/commit/a3fc7693f3a035a8a7921cffb98432944bb42740"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15946.json"