A double free when handling responses from a smartcard in sc_file_set_sec_attr in…
Priority LOW 30CWE-415Published · Updated
Key facts
- Attack vector
- Physical
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-415 and the CVSS impact.
Summary
A double free when handling responses from a smartcard in sc_file_set_sec_attr in libopensc/sc.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.
Why it matters now
EPSS 0.00635 50th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2019:2154 Released 2019-08-06 · Red Hat rating Moderateopensc security, bug fix, and enhancement update
- 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, opensc-0.19.0-3.el7.ppc
- Red Hat Enterprise Linux Workstation (v. 7) opensc-0.19.0-3.el7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:2154 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:2154 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:2154 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:2154 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-16423
- 2026-10-03 Alias added: GHSA-x56f-5g95-vmfx
- 2026-10-08 EPSS moved to the 50th–90th percentile
References
Patch 2
Advisory 1
More Opensc vulnerabilities
- TI-2025-40564 OpenSC: `sc_compacttlv_find_tag` can return out-of-bounds pointers CVSS 3.1MEDIUM 6.8
- TI-2025-40563 OpenSC: Out of Bounds vulnerability CVSS 3.1MEDIUM 6.8
- TI-2019-04558 sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv. CVSS 3.0HIGH 7.5
- TI-2021-13306 Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs. CVSS 3.1HIGH 7.5
- TI-2019-12067 An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. CVSS 3.0HIGH 7.5
- TI-2023-21453 Opensc: potential pin bypass when card tracks its own login state CVSS 3.1MEDIUM 6.6
Sources
- CVE-2018-16423 · CVE Program
- CVE-2018-16423 · NVD
- FIRST EPSS
- GHSA-x56f-5g95-vmfx · GitHub Advisory Database · CC BY 4.0
- CVE-2018-16423 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences