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
BELL (1)
DEBIAN (1)
MGASA (1)
openSUSE (2)
RHSA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2019-09-05T17:15:12Z
Modified
2026-08-07T14:52:51Z
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 asn1_decode_entry 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"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "31"
                },
                {
                    "last_affected":  "31"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
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
Show details
{
    "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

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