CVE-2018-16393: OpenSC - Buffer Overflow
- Cve: CVE-2018-16393
- Name: OpenSC - Buffer Overflow
- Description: 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.
- Impact: Attackers can cause denial of service (application crash) or potentially execute arbitrary code through crafted smartcards.
- Remediation: Update to version 0.19.0-rc1 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0062
- Epss percentile: 0.50682
- Assignee: [email protected]
- Published at: 2018-09-03T14:29:00Z
- Age in days: 3004
- Modified at: 2026-06-17T01:44:12Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-16393
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/ | nvd | 2018-09-03 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad | Patch, Third Party Advisory |
| https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/ | Exploit, Third Party Advisory |
| https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:2154 | |
| https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opensc_project:opensc | <= 0.18.0 | no | nvd | /v1/products/opensc_project/opensc |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| OpenSC/OpenSC | commit, releases | yes | /v1/repositories/OpenSC/OpenSC |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-09-03
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts