Medium
Security advisory
OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-15945
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:29 UTC · Revision 1
Source evidence
OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c.
osv:CVE-2019-15945
Complete source record
{
"id": "776cc84219f5e1ee04b02ea4abc16dd5d053c8855be7b84ac9d1c4a8447007a7",
"url": "https://osv.dev/vulnerability/CVE-2019-15945",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-15945",
"summary": "OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c.",
"evidence": "osv:CVE-2019-15945",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-15945",
"aliases": [
"CVE-2019-15945"
],
"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": "412a6142c27a5973c61ba540e33cdc22d5608e68"
}
],
"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": "412a6142c27a5973c61ba540e33cdc22d5608e68"
}
],
"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-15945.json",
"vanir_signatures": [
{
"id": "CVE-2019-15945-5ff9212e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"297175338200415450495469453137505148979",
"324464793528311656715900885897677107677",
"235162866907379193967776824386251535809",
"148892391738533823772808675824081347164",
"271007510155698596031020343162910857595",
"17928902979717757606177869801051367107",
"6680214412565745825158616163531721129",
"308450731521761626803739219073195203892",
"235313599250259173294102152659145129581",
"184459165867828565842888035184684183514",
"66599990226266053176047532713479330761",
"234365475496651906006414592092147041548"
]
},
"source": "https://github.com/opensc/opensc/commit/412a6142c27a5973c61ba540e33cdc22d5608e68",
"target": {
"file": "src/libopensc/asn1.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-15945-b438983c",
"digest": {
"length": 675,
"function_hash": "73470549151581179276510363648036828424"
},
"source": "https://github.com/opensc/opensc/commit/412a6142c27a5973c61ba540e33cdc22d5608e68",
"target": {
"file": "src/libopensc/asn1.c",
"function": "decode_bit_string"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:43:22Z"
}
}
],
"modified": "2026-10-20T13:43:22.484264073Z",
"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/412a6142c27a5973c61ba540e33cdc22d5608e68",
"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-15945",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387995,
"published_at": "2019-09-05T17:15:11.873+00:00"
}