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-03-03T01:12:52.342701Z
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.

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
Fixed

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.16.0-rc1
0.16.0-rc2
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
[
    {
        "id": "CVE-2019-15946-474477e2",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "144373587500690818507003904206410356003",
                "148102426093319846627226247161866438541",
                "152613503459311009974684643923559563409",
                "189033476452025105233726194714004011925"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "src/libopensc/asn1.c"
        },
        "signature_version": "v1",
        "source": "https://github.com/opensc/opensc/commit/a3fc7693f3a035a8a7921cffb98432944bb42740",
        "deprecated": false
    },
    {
        "id": "CVE-2019-15946-762eb016",
        "digest": {
            "length": 4599.0,
            "function_hash": "261759861244261629003110721538662186476"
        },
        "signature_type": "Function",
        "target": {
            "file": "src/libopensc/asn1.c",
            "function": "asn1_decode_entry"
        },
        "signature_version": "v1",
        "source": "https://github.com/opensc/opensc/commit/a3fc7693f3a035a8a7921cffb98432944bb42740",
        "deprecated": false
    }
]