VYPR
Unrated severityNVD Advisory· Published Sep 4, 2018· Updated Aug 5, 2024

CVE-2018-16426

CVE-2018-16426

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Endless recursion in OpenSC's IAS-ECC card handling allows denial of service via crafted smartcard.

Vulnerability

The vulnerability is an endless recursion in iasecc_select_file() in libopensc/card-iasecc.c in OpenSC before version 0.19.0-rc1 [1][3]. When processing a crafted response from an IAS-ECC smartcard, the function recursively selects the MF without checking the path type, leading to infinite recursion [4].

Exploitation

An attacker with physical access supplies a malicious smartcard that returns a malformed response to an APDU command. The OpenSC library, when handling the response, enters an infinite loop in iasecc_select_file(). No authentication or special privileges are required [1][2].

Impact

Successful exploitation causes a denial of service (DoS) by hanging or crashing the OpenSC library. Applications using the library (e.g., for authentication or encryption) become unavailable. No data is compromised [1].

Mitigation

The fix was included in OpenSC 0.19.0-rc1 [3]. Red Hat Enterprise Linux users can apply RHSA-2019:2154 [1]. No workaround exists for unpatched versions.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

9

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.