# CVE-2018-16393

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-09-03 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-16393, DEBIAN-CVE-2018-16393, ALPINE-CVE-2018-16393
- Record: https://cvemate.com/vulnerability/CVE-2018-16393 · JSON: https://cvemate.com/vulnerability/CVE-2018-16393/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.0, NVD) CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.62%, percentile 51.191%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine opensc (Alpine Linux): \< 0.19.0-r0
- debian opensc (Debian): \< 0.19.0~rc1-1
- ubuntu opensc (Ubuntu): All versions (No fix recorded)
- opensc\_project opensc: ≤ 0.18.0

## References

- <https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1>
- <https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad>
- <https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/>
- <https://access.redhat.com/errata/RHSA-2019:2154>
- <https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html>
- <https://ubuntu.com/security/CVE-2018-16393>
- <https://www.cve.org/CVERecord?id=CVE-2018-16393>
- <https://security-tracker.debian.org/tracker/CVE-2018-16393>
- <https://security.alpinelinux.org/vuln/CVE-2018-16393>

---

Data as of 2026-12-05T14:01:04.718Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
