CVE-2018-16426
CVE-2018-16426 is a medium-severity vulnerability in Opensc Project Opensc with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-674.
Key facts
- Severity: Medium (CVSS 3.x base score 4.3)
- CVSS v2: 2.1
- EPSS exploit prediction: 1% (44th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-674
- Affected product: Opensc Project Opensc
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2018-16426?
- 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.
- How severe is CVE-2018-16426?
- CVE-2018-16426 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over physical access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2018-16426 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (44th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-16426?
- CVE-2018-16426 affects Opensc Project Opensc. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-16426?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2018-16426 published?
- CVE-2018-16426 was published on 2018-09-04 and last updated on 2026-06-17.
References
- https://access.redhat.com/errata/RHSA-2019:2154
- https://github.com/OpenSC/OpenSC/commit/03628449b75a93787eb2359412a3980365dda49b#diff-f8c0128e14031ed9307d47f10f601b54
- https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1
- https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html
- https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/
Affected products (1)
- cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*
More vulnerabilities in Opensc Project Opensc
- CVE-2021-34193 — High (CVSS 7.5): Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
- CVE-2019-16058 — High (CVSS 7.5): An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a…
- CVE-2019-6502 — High (CVSS 7.5): 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-2023-2977 — High (CVSS 7.1): A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15…
- CVE-2019-20792 — Medium (CVSS 6.8): OpenSC before 0.20.0 has a double free in coolkey_free_private_data because coolkey_add_object in…
- CVE-2018-16393 — Medium (CVSS 6.8): Several buffer overflows when handling responses from a Gemsafe V1 Smartcard in gemsafe_get_cert_len in…
All CVEs affecting Opensc Project Opensc →
Other CWE-674 (Uncontrolled Recursion) vulnerabilities
- CVE-2026-43185 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix signededness bug in…
- CVE-2023-51803 — Critical (CVSS 9.8): LinuxServer.io Heimdall before 2.5.7 does not prevent use of icons that have non-image data such as the "<?php ?>"…
- CVE-2021-41752 — Critical (CVSS 9.8): Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due…
- CVE-2018-1000618 — Critical (CVSS 9.8): EOSIO/eos eos version after commit f1545dd0ae2b77580c2236fdb70ae7138d2c7168 contains a stack overflow vulnerability in…
- CVE-2025-10728 — Critical (CVSS 9.4): When the module renders a Svg file that contains a <pattern> element, it might end up rendering it recursively leading…
- CVE-2026-40324 — Critical (CVSS 9.1): Hot Chocolate is an open-source GraphQL server. Prior to versions 12.22.7, 13.9.16, 14.3.1, and 15.1.14, Hot…
Browse all CWE-674 (Uncontrolled Recursion) vulnerabilities →