Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-15946

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-15946
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:28 UTC · Revision 1

Source evidence

CVE-2019-15946

core-osv · Original source

Published 5 Sept 2019, 17:15 UTC

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.

osv:CVE-2019-15946
Complete source record
{
  "id": "9056250084a74d3df70b2f383eac9d95a6ed07ed7e927f071e429958ea78489d",
  "url": "https://osv.dev/vulnerability/CVE-2019-15946",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-15946",
    "summary": "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.",
    "evidence": "osv:CVE-2019-15946",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-15946",
      "aliases": [
        "CVE-2019-15946"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opensc/opensc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "f1691fc91fc113191c3a8aaf5facd6983334ec47"
                },
                {
                  "fixed": "a3fc7693f3a035a8a7921cffb98432944bb42740"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.19.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a3fc7693f3a035a8a7921cffb98432944bb42740"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.19.0",
            "0.19.0-rc1",
            "0.18.0",
            "0.18.0-rc2",
            "0.18.0-rc1",
            "0.17.0",
            "0.17.0-rc2",
            "0.17.0-rc1",
            "0.16.0",
            "v0.16.0-pre1",
            "0.15.0",
            "0.14.0",
            "0.14.0rtm",
            "0.14.0rc2",
            "0.13.0",
            "0.13.0rc1",
            "0.13.0pre1",
            "v0.12.2",
            "0.12.2",
            "0.12.2-rc1"
          ],
          "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"
                  ]
                },
                "source": "https://github.com/opensc/opensc/commit/a3fc7693f3a035a8a7921cffb98432944bb42740",
                "target": {
                  "file": "src/libopensc/asn1.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-15946-762eb016",
                "digest": {
                  "length": 4599,
                  "function_hash": "261759861244261629003110721538662186476"
                },
                "source": "https://github.com/opensc/opensc/commit/a3fc7693f3a035a8a7921cffb98432944bb42740",
                "target": {
                  "file": "src/libopensc/asn1.c",
                  "function": "asn1_decode_entry"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:41:19Z"
          }
        }
      ],
      "modified": "2026-10-20T13:41:19.357142614Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NDSQLMZZYBHO5X3BK7D6E7E6NZIMZDI5/",
        "https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html",
        "https://lists.debian.org/debian-lts-announce/2021/11/msg00027.html",
        "https://github.com/OpenSC/OpenSC/commit/a3fc7693f3a035a8a7921cffb98432944bb42740",
        "https://github.com/OpenSC/OpenSC/compare/f1691fc...12218d4"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-15946",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387961,
  "published_at": "2019-09-05T17:15:12.047+00:00"
}