CVE-2018-16391 json
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…
published 2018-09-03 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-8235
- cvss
- 6.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- opensc Debian 14, Debian 13, Debian 12 0.19.0~rc1-1
debian advisories DEBIAN-CVE-2018-16391
- opensc RHEL 7 0.19.0-3.el7
red hat advisories RHSA-2019:2154
- opensc SLES 12 SP4, SLES 12 SP3, SLED 12 SP4 +3 more 0.13.0-3.3.2
- opensc SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 0.11.6-5.27.3.1
- opensc SLE Module for Basesystem 15 0.18.0-3.8.1
suse advisories SUSE-SU-2018:3622-2SUSE-SU-2018:3621-1SUSE-SU-2018:3622-1SUSE-SU-2018:3629-1
- opensc openSUSE Tumbleweed 0.21.0-2.2
opensuse advisories openSUSE-SU-2024:11123-1
- opensc Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 0.19.0-r0
alpine advisories ALPINE-CVE-2018-16391
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-16391 updated cvss 4.3
opensc: Buffer overflows handling responses from Muscle Cards in card-muscle.c:muscle_list_files()
-
Red Hat Enterprise Linux Client (v. 7) opensc 0.19.0-3.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) opensc 0.19.0-3.el7 Red Hat Enterprise Linux Server (v. 7) opensc 0.19.0-3.el7 Red Hat Enterprise Linux Workstation (v. 7) opensc 0.19.0-3.el7fixed: vendor fix RHSA-2019:2154
-
Red Hat Enterprise Linux 8 openscnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- x41-dsec.de https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.8 | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-477b7a40136bb418b10ce271c8664536
patch, third-party-advisory
-
x41-dsec.de
/lab/advisories/x41-2018-002-OpenSC/
exploit, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2154
vendor-advisory
-
github.com
/OpenSC/OpenSC/releases/tag/0.19.0-rc1
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/09/msg00009.html
mailing-list
Sources
- CVE List CVE-2018-16391
- NVD CVE-2018-16391
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.