Medium
Security advisory
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-19479
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:35 UTC · Revision 1
Source evidence
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.
osv:CVE-2019-19479
Complete source record
{
"id": "0b75097ddbf356cbd0a410a65c19504ce019dca06c388c535b1dda0c858ec9d6",
"url": "https://osv.dev/vulnerability/CVE-2019-19479",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-19479",
"summary": "An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.",
"evidence": "osv:CVE-2019-19479",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-19479",
"aliases": [
"CVE-2019-19479"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/opensc/opensc",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "f1691fc91fc113191c3a8aaf5facd6983334ec47"
},
{
"introduced": "12218d4b0b295d01b81c1e915282b06da438a7f1"
},
{
"last_affected": "01678e871e4bb30dd4bde7bf8b2a63c5cddb6a11"
},
{
"fixed": "c3f23b836e5a1766c36617fe1da30d22f7b63de2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.19.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:opensc_project:opensc:0.20.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "0.20.0-rc1"
},
{
"last_affected": "0.20.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:opensc_project:opensc:0.20.0:rc2:*:*:*:*:*:*",
"range": [
{
"introduced": "0.20.0-rc2"
},
{
"last_affected": "0.20.0-rc2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:opensc_project:opensc:0.20.0:rc3:*:*:*:*:*:*",
"range": [
{
"introduced": "0.20.0-rc3"
},
{
"last_affected": "0.20.0-rc3"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "c3f23b836e5a1766c36617fe1da30d22f7b63de2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.20.0-rc1",
"0.20.0-rc2",
"0.20.0-rc3",
"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-19479.json",
"vanir_signatures": [
{
"id": "CVE-2019-19479-6e9084bd",
"digest": {
"threshold": 0.9,
"line_hashes": [
"312700537045446842476960619232256392914",
"12577001211443987501834181150640691110",
"19328322763717515580348095176242147780",
"118003578808881612881485274894912018341"
]
},
"source": "https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2",
"target": {
"file": "src/libopensc/card-setcos.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-19479-f6e42b74",
"digest": {
"length": 2436,
"function_hash": "291474278857799130683909883402632931015"
},
"source": "https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2",
"target": {
"file": "src/libopensc/card-setcos.c",
"function": "parse_sec_attr_44"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:56:48Z"
}
}
],
"modified": "2026-10-20T13:56:48.304504511Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NDSQLMZZYBHO5X3BK7D6E7E6NZIMZDI5/",
"https://lists.debian.org/debian-lts-announce/2019/12/msg00031.html",
"https://lists.debian.org/debian-lts-announce/2021/11/msg00027.html",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18693",
"https://github.com/OpenSC/OpenSC/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2"
],
"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-19479",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388427,
"published_at": "2019-12-01T23:15:10.653+00:00"
}