CVE-2018-16392
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in...
CVE-2018-16392 is a medium vulnerability (CVSS 6.8) in Opensc Project Opensc, published September 3, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 50th percentile. Fixed in opensc 0.19.0~rc1-1.
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
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
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.8
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
- Record
CVE-2018-16392- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
- Record
CVE-2018-16392- Updated
- 2026-11-02
EUVDEUVD-2018-8236 No score
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
- Record
EUVD-2018-8236- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j7gx-7q9r-7wp6
6.8
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in...
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
- Record
GHSA-j7gx-7q9r-7wp6- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVBELL-CVE-2018-16392
6.8
CVE-2018-16392 does not affect BellSoft software
- Record
BELL-CVE-2018-16392- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
6.8
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
- Record
CVE-2018-16392- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2018-16392
6.8
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
- Record
DEBIAN-CVE-2018-16392- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2019:2154
4.3
Red Hat Security Advisory: opensc security, bug fix, and enhancement update
- Record
RHSA-2019:2154- CVSS 3.0
- 4.3 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-16392
6.8
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
- Record
UBUNTU-CVE-2018-16392- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0019 No score
Updated opensc packages fix security vulnerabilities
Several buffer overflows when handling responses from a Muscle Card in muscle_list_files in libopensc/card-muscle.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16391).
Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16392).
Several buffer overflows when handling responses from a Gemsafe V1 Smartcard in gemsafe_get_cert_len in libopensc/pkcs15-gemsafeV1.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16393).
A buffer overflow when handling string concatenation in util_acl_to_str in tools/util.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16418).
Several buffer overflows when handling responses from a Cryptoflex card in read_public_key in tools/cryptoflex-tool.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16419).
Several buffer overflows when handling responses from an ePass 2003 Card in decrypt_response in libopensc/card-epass2003.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16420).
Several buffer overflows when handling responses from a CAC Card in cac_get_serial_nr_from_CUID in libopensc/card-cac.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16421).
A single byte buffer overflow when handling responses from an esteid Card in sc_pkcs15emu_esteid_init in libopensc/pkcs15-esteid.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16422).
A double free when handling responses from a smartcard in sc_file_set_sec_attr in libopensc/sc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16423).
A double free when handling responses in read_file in tools/egk-tool.c (aka the eGK card tool) in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16424).
A double free when handling responses from an HSM Card in sc_pkcs15emu_sc_hsm_init in libopensc/pkcs15-sc-hsm.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact (CVE-2018-16425).
Endless recursion when handling responses from an IAS-ECC card in iasecc_select_file in libopensc/card-iasecc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to hang or crash the opensc library using programs (CVE-2018-16426).
Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs (CVE-2018-16427).
- Record
MGASA-2019-0019- 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-2018:3621-1 No score
Security update for opensc
This update for opensc fixes the following issues:
- CVE-2018-16391: Fixed a denial of service when handling responses from a Muscle Card (bsc#1106998)
- CVE-2018-16392: Fixed a denial of service when handling responses from a TCOS Card (bsc#1106999)
- CVE-2018-16393: Fixed buffer overflows when handling responses from Gemsafe V1 Smartcards (bsc#1108318)
- CVE-2018-16418: Fixed buffer overflow when handling string concatenation in util_acl_to_str (bsc#1107039)
- CVE-2018-16419: Fixed several buffer overflows when handling responses from a Cryptoflex card (bsc#1107107)
- CVE-2018-16422: Fixed single byte buffer overflow when handling responses from an esteid Card (bsc#1107038)
- CVE-2018-16423: Fixed double free when handling responses from a smartcard (bsc#1107037)
- CVE-2018-16427: Fixed out of bounds reads when handling responses in OpenSC (bsc#1107033)
- Record
SUSE-SU-2018:3621-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3622-1 No score
Security update for opensc
This update for opensc fixes the following issues:
- CVE-2018-16391: Fixed a denial of service when handling responses from a Muscle Card (bsc#1106998)
- CVE-2018-16392: Fixed a denial of service when handling responses from a TCOS Card (bsc#1106999)
- CVE-2018-16393: Fixed buffer overflows when handling responses from Gemsafe V1 Smartcards (bsc#1108318)
- CVE-2018-16418: Fixed buffer overflow when handling string concatenation in util_acl_to_str (bsc#1107039)
- CVE-2018-16419: Fixed several buffer overflows when handling responses from a Cryptoflex card (bsc#1107107)
- CVE-2018-16420: Fixed buffer overflows when handling responses from an ePass 2003 Card (bsc#1107097)
- CVE-2018-16422: Fixed single byte buffer overflow when handling responses from an esteid Card (bsc#1107038)
- CVE-2018-16423: Fixed double free when handling responses from a smartcard (bsc#1107037)
- CVE-2018-16426: Fixed endless recursion when handling responses from an IAS-ECC card (bsc#1107034)
- CVE-2018-16427: Fixed out of bounds reads when handling responses in OpenSC (bsc#1107033)
- Record
SUSE-SU-2018:3622-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3622-2 No score
Security update for opensc
This update for opensc fixes the following issues:
- CVE-2018-16391: Fixed a denial of service when handling responses from a Muscle Card (bsc#1106998)
- CVE-2018-16392: Fixed a denial of service when handling responses from a TCOS Card (bsc#1106999)
- CVE-2018-16393: Fixed buffer overflows when handling responses from Gemsafe V1 Smartcards (bsc#1108318)
- CVE-2018-16418: Fixed buffer overflow when handling string concatenation in util_acl_to_str (bsc#1107039)
- CVE-2018-16419: Fixed several buffer overflows when handling responses from a Cryptoflex card (bsc#1107107)
- CVE-2018-16420: Fixed buffer overflows when handling responses from an ePass 2003 Card (bsc#1107097)
- CVE-2018-16422: Fixed single byte buffer overflow when handling responses from an esteid Card (bsc#1107038)
- CVE-2018-16423: Fixed double free when handling responses from a smartcard (bsc#1107037)
- CVE-2018-16426: Fixed endless recursion when handling responses from an IAS-ECC card (bsc#1107034)
- CVE-2018-16427: Fixed out of bounds reads when handling responses in OpenSC (bsc#1107033)
- Record
SUSE-SU-2018:3622-2- Updated
- 2026-11-02
OSVSUSE-SU-2018:3629-1 No score
Security update for opensc
This update for opensc fixes the following security issues:
- CVE-2018-16391: Fixed a denial of service when handling responses from a Muscle Card (bsc#1106998)
- CVE-2018-16392: Fixed a denial of service when handling responses from a TCOS Card (bsc#1106999)
- CVE-2018-16393: Fixed buffer overflows when handling responses from Gemsafe V1 Smartcards (bsc#1108318)
- CVE-2018-16418: Fixed buffer overflow when handling string concatenation in util_acl_to_str (bsc#1107039)
- CVE-2018-16419: Fixed several buffer overflows when handling responses from a Cryptoflex card (bsc#1107107)
- CVE-2018-16420: Fixed buffer overflows when handling responses from an ePass 2003 Card (bsc#1107097)
- CVE-2018-16421: Fixed buffer overflows when handling responses from a CAC Card (bsc#1107049)
- CVE-2018-16422: Fixed single byte buffer overflow when handling responses from an esteid Card (bsc#1107038)
- CVE-2018-16423: Fixed double free when handling responses from a smartcard (bsc#1107037)
- CVE-2018-16424: Fixed double free when handling responses in read_file (bsc#1107036)
- CVE-2018-16425: Fixed double free when handling responses from an HSM Card (bsc#1107035)
- CVE-2018-16426: Fixed endless recursion when handling responses from an IAS-ECC card (bsc#1107034)
- CVE-2018-16427: Fixed out of bounds reads when handling responses in OpenSC (bsc#1107033)
- Record
SUSE-SU-2018:3629-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openscDebian:12 |
before 0.19.0~rc1-1 | 0.19.0~rc1-1 |
openscDebian:13 |
before 0.19.0~rc1-1 | 0.19.0~rc1-1 |
openscDebian:14 |
before 0.19.0~rc1-1 | 0.19.0~rc1-1 |
openscDebian:8 |
before 0.16.0-3+deb8u1, plus listed versions 0.14.0-20.15.0-10.16.0-10.16.0-20.16.0-30.16.0~rc1-10.16.0~rc2-1 |
0.16.0-3+deb8u1 |
openscMageia:6 |
before 0.19.0-1.mga6 | 0.19.0-1.mga6 |
openscRed Hat:enterprise_linux:7::client |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
opensc-debuginfoRed Hat:enterprise_linux:7::client |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
openscRed Hat:enterprise_linux:7::computenode |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
opensc-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
openscRed Hat:enterprise_linux:7::server |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
opensc-debuginfoRed Hat:enterprise_linux:7::server |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
openscRed Hat:enterprise_linux:7::workstation |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
opensc-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
openscSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 0.11.6-5.27.3.1 | 0.11.6-5.27.3.1 |
openscSUSE:Linux Enterprise Server 11 SP4 |
before 0.11.6-5.27.3.1 | 0.11.6-5.27.3.1 |
openscSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 0.11.6-5.27.3.1 | 0.11.6-5.27.3.1 |
openscSUSE:Linux Enterprise Desktop 12 SP3 |
before 0.13.0-3.3.2 | 0.13.0-3.3.2 |
openscSUSE:Linux Enterprise Server 12 SP3 |
before 0.13.0-3.3.2 | 0.13.0-3.3.2 |
openscSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 0.13.0-3.3.2 | 0.13.0-3.3.2 |
openscSUSE:Linux Enterprise Desktop 12 SP4 |
before 0.13.0-3.3.2 | 0.13.0-3.3.2 |
openscSUSE:Linux Enterprise Server 12 SP4 |
before 0.13.0-3.3.2 | 0.13.0-3.3.2 |
openscSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 0.13.0-3.3.2 | 0.13.0-3.3.2 |
openscSUSE:Linux Enterprise Module for Basesystem 15 |
before 0.18.0-3.8.1 | 0.18.0-3.8.1 |
openscUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 0.15.0-1ubuntu10.15.0-1ubuntu1+esm10.15.0-1ubuntu1+esm20.15.0-1ubuntu1+esm3 |
None known |
openscUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 0.17.0-10.17.0-20.17.0-2build10.17.0-30.17.0-3ubuntu0.1~esm10.17.0-3ubuntu0.1~esm20.17.0-3ubuntu0.1~esm3 |
None known |
openscopenSUSE:Tumbleweed |
before 0.21.0-2.2 | 0.21.0-2.2 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad
github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1
x41-dsec.de/lab/advisories/x41-2018-002-OpenSC
access.redhat.com/errata/RHSA-2019:2154
lists.debian.org/debian-lts-announce/2019/09/msg00009.html
nvd.nist.gov/vuln/detail/CVE-2018-16392
Show 95 moreShow less
github.com/advisories/GHSA-j7gx-7q9r-7wp6
docs.bell-sw.com/security/cves/CVE-2018-16392
security-tracker.debian.org/tracker/CVE-2018-16392
advisories.mageia.org/MGASA-2019-0019.html
bugs.mageia.org/show_bug.cgi?id=23447
lists.fedoraproject.org/archives/list/[email protected]/thread/FELOINZJEHXTJ757WSU4HYL5HWENARJH
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1627998
bugzilla.redhat.com/show_bug.cgi?id=1628002
bugzilla.redhat.com/show_bug.cgi?id=1628006
bugzilla.redhat.com/show_bug.cgi?id=1628010
bugzilla.redhat.com/show_bug.cgi?id=1628013
bugzilla.redhat.com/show_bug.cgi?id=1628016
bugzilla.redhat.com/show_bug.cgi?id=1628020
bugzilla.redhat.com/show_bug.cgi?id=1628026
bugzilla.redhat.com/show_bug.cgi?id=1628034
bugzilla.redhat.com/show_bug.cgi?id=1628044
bugzilla.redhat.com/show_bug.cgi?id=1628052
bugzilla.redhat.com/show_bug.cgi?id=1656791
bugzilla.redhat.com/show_bug.cgi?id=1672898
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2154.json
access.redhat.com/security/cve/CVE-2018-16391
cve.org/CVERecord?id=CVE-2018-16391
nvd.nist.gov/vuln/detail/CVE-2018-16391
access.redhat.com/security/cve/CVE-2018-16392
cve.org/CVERecord?id=CVE-2018-16392
access.redhat.com/security/cve/CVE-2018-16393
cve.org/CVERecord?id=CVE-2018-16393
nvd.nist.gov/vuln/detail/CVE-2018-16393
access.redhat.com/security/cve/CVE-2018-16418
cve.org/CVERecord?id=CVE-2018-16418
nvd.nist.gov/vuln/detail/CVE-2018-16418
access.redhat.com/security/cve/CVE-2018-16419
cve.org/CVERecord?id=CVE-2018-16419
nvd.nist.gov/vuln/detail/CVE-2018-16419
access.redhat.com/security/cve/CVE-2018-16420
cve.org/CVERecord?id=CVE-2018-16420
nvd.nist.gov/vuln/detail/CVE-2018-16420
access.redhat.com/security/cve/CVE-2018-16421
cve.org/CVERecord?id=CVE-2018-16421
nvd.nist.gov/vuln/detail/CVE-2018-16421
access.redhat.com/security/cve/CVE-2018-16422
cve.org/CVERecord?id=CVE-2018-16422
nvd.nist.gov/vuln/detail/CVE-2018-16422
access.redhat.com/security/cve/CVE-2018-16423
cve.org/CVERecord?id=CVE-2018-16423
nvd.nist.gov/vuln/detail/CVE-2018-16423
access.redhat.com/security/cve/CVE-2018-16426
cve.org/CVERecord?id=CVE-2018-16426
nvd.nist.gov/vuln/detail/CVE-2018-16426
access.redhat.com/security/cve/CVE-2018-16427
cve.org/CVERecord?id=CVE-2018-16427
nvd.nist.gov/vuln/detail/CVE-2018-16427
suse.com/support/update/announcement/2018/suse-su-20183621-1
bugzilla.suse.com/1104812
bugzilla.suse.com/1106998
bugzilla.suse.com/1106999
bugzilla.suse.com/1107033
bugzilla.suse.com/1107037
bugzilla.suse.com/1107038
bugzilla.suse.com/1107039
bugzilla.suse.com/1107107
bugzilla.suse.com/1108318
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-16422
suse.com/security/cve/CVE-2018-16423
suse.com/security/cve/CVE-2018-16427
suse.com/support/update/announcement/2018/suse-su-20183622-1
bugzilla.suse.com/1107034
bugzilla.suse.com/1107097
suse.com/security/cve/CVE-2018-16420
suse.com/security/cve/CVE-2018-16426
suse.com/support/update/announcement/2018/suse-su-20183622-2
suse.com/support/update/announcement/2018/suse-su-20183629-1
bugzilla.suse.com/1107035
bugzilla.suse.com/1107036
bugzilla.suse.com/1107049
suse.com/security/cve/CVE-2018-16421
suse.com/security/cve/CVE-2018-16424
suse.com/security/cve/CVE-2018-16425
ubuntu.com/security/CVE-2018-16392
suse.com/security/cve/CVE-2008-2235
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-6502
suse.com/security/cve/CVE-2020-26570
suse.com/security/cve/CVE-2020-26571
suse.com/security/cve/CVE-2020-26572