CVE-2019-19480
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15...
CVE-2019-19480 is a medium vulnerability (CVSS 4.6) in Opensc Project Opensc, published December 1, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.57%, the 47th percentile. Fixed in opensc 0.20.0-r0.
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.
Attack profile
How easy it is to exploit
- Attack vector
- Physical
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
4.6
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.
- Record
CVE-2019-19480- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-672
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.
- Record
CVE-2019-19480- Updated
- 2026-11-02
EUVDEUVD-2019-9100 No score
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.
- Record
EUVD-2019-9100- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x65v-c8ff-h2m3 No score
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15...
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.
- Record
GHSA-x65v-c8ff-h2m3- Updated
- 2026-11-02
OSVALPINE-CVE-2019-19480
4.6
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.
- Record
ALPINE-CVE-2019-19480- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2019-19480
4.6
CVE-2019-19480 does not affect BellSoft software
- Record
BELL-CVE-2019-19480- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSV
4.6
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.
- Record
CVE-2019-19480- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0026 No score
Updated opensc packages fix security vulnerability
Updated opensc packages fix security vulnerabilities:
sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv (CVE-2019-6502).
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 (CVE-2019-15945).
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 (CVE-2019-15946).
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 (CVE-2019-19479).
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry (CVE-2019-19480).
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-cac1.c mishandles buffer limits for CAC certificates (CVE-2019-19481).
The opensc package has been updated to version 0.20.0, which has fixes for these issues and other improvements.
- Record
MGASA-2020-0026- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0565-1 No score
Security update for opensc
This update for opensc fixes the following issues:
- CVE-2019-15945: Fixed an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746).
- CVE-2019-15946: Fixed an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)
- CVE-2019-19479: Fixed an incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)
- CVE-2019-19480: Fixed an improper free operation in sc_pkcs15_decode_prkdf_entry (bsc#1158307).
- CVE-2019-20792: Fixed a double free in coolkey_free_private_data (bsc#1170809).
- CVE-2020-26570: Fixed a buffer overflow in sc_oberthur_read_file (bsc#1177364).
- CVE-2020-26571: Fixed a stack-based buffer overflow in gemsafe GPK smart card software driver (bsc#1177380)
- CVE-2020-26572: Fixed a stack-based buffer overflow in tcos_decipher (bsc#1177378).
This update was imported from the SUSE:SLE-15-SP1:Update update project.
- Record
openSUSE-SU-2021:0565-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11123-1 No score
opensc-0.21.0-2.2 on GA media
These are all security issues fixed in the opensc-0.21.0-2.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11123-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1168-1 No score
Security update for opensc
This update for opensc fixes the following issues:
- CVE-2019-15945: Fixed an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746).
- CVE-2019-15946: Fixed an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)
- CVE-2019-19479: Fixed an incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)
- CVE-2019-19480: Fixed an improper free operation in sc_pkcs15_decode_prkdf_entry (bsc#1158307).
- CVE-2019-20792: Fixed a double free in coolkey_free_private_data (bsc#1170809).
- CVE-2020-26570: Fixed a buffer overflow in sc_oberthur_read_file (bsc#1177364).
- CVE-2020-26571: Fixed a stack-based buffer overflow in gemsafe GPK smart card software driver (bsc#1177380)
- CVE-2020-26572: Fixed a stack-based buffer overflow in tcos_decipher (bsc#1177378).
- Record
SUSE-SU-2021:1168-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openscAlpine:v3.11 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.12 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.13 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.14 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.15 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.16 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.17 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.18 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.19 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.20 |
before 0.20.0-r0 | 0.20.0-r0 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openscAlpine:v3.21 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.22 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.23 |
before 0.20.0-r0 | 0.20.0-r0 |
openscAlpine:v3.24 |
before 0.20.0-r0 | 0.20.0-r0 |
openscMageia:7 |
before 0.20.0-1.mga7 | 0.20.0-1.mga7 |
openscSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 0.19.0-3.7.1 | 0.19.0-3.7.1 |
openscopenSUSE:Leap 15.2 |
before 0.19.0-lp152.3.3.1 | 0.19.0-lp152.3.3.1 |
openscopenSUSE:Tumbleweed |
before 0.21.0-2.2 | 0.21.0-2.2 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected, aliases, references | OSV |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/OpenSC/OpenSC/commit/6ce6152284c47ba9b1d4fe8ff9d2e6a3f5ee02c7
bugs.chromium.org/p/oss-fuzz/issues/detail?id=18478
openwall.com/lists/oss-security/2019/12/29/1
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NDSQLMZZYBHO5X3BK7D6E7E6NZIMZDI5
nvd.nist.gov/vuln/detail/CVE-2019-19480
lists.fedoraproject.org/archives/list/[email protected]/message/NDSQLMZZYBHO5X3BK7D6E7E6NZIMZDI5
Show 39 moreShow less
github.com/advisories/GHSA-x65v-c8ff-h2m3
security.alpinelinux.org/vuln/CVE-2019-19480
docs.bell-sw.com/security/cves/CVE-2019-19480
advisories.mageia.org/MGASA-2020-0026.html
bugs.mageia.org/show_bug.cgi?id=25975
github.com/OpenSC/OpenSC/releases/tag/0.20.0
suse.com/support/update/announcement/2021/suse-su-20211168-1
bugzilla.suse.com/1149746
bugzilla.suse.com/1149747
bugzilla.suse.com/1158256
bugzilla.suse.com/1158307
bugzilla.suse.com/1170809
bugzilla.suse.com/1177364
bugzilla.suse.com/1177378
bugzilla.suse.com/1177380
suse.com/security/cve/CVE-2019-15945
suse.com/security/cve/CVE-2019-15946
suse.com/security/cve/CVE-2019-19479
suse.com/security/cve/CVE-2019-19480
suse.com/security/cve/CVE-2019-20792
suse.com/security/cve/CVE-2020-26570
suse.com/security/cve/CVE-2020-26571
suse.com/security/cve/CVE-2020-26572
lists.opensuse.org/archives/list/[email protected]/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ
suse.com/security/cve/CVE-2008-2235
suse.com/security/cve/CVE-2018-16391
suse.com/security/cve/CVE-2018-16392
suse.com/security/cve/CVE-2018-16393
suse.com/security/cve/CVE-2018-16418
suse.com/security/cve/CVE-2018-16419
suse.com/security/cve/CVE-2018-16420
suse.com/security/cve/CVE-2018-16421
suse.com/security/cve/CVE-2018-16422
suse.com/security/cve/CVE-2018-16423
suse.com/security/cve/CVE-2018-16424
suse.com/security/cve/CVE-2018-16425
suse.com/security/cve/CVE-2018-16426
suse.com/security/cve/CVE-2018-16427
suse.com/security/cve/CVE-2019-6502