CVE-2019-6502 json
sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.
published 7y ago modified 4mo ago also EUVD-2019-16061
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.
Patch / fix
- opensc Debian 14, Debian 13, Debian 12 0.20.0-1
debian advisories DEBIAN-CVE-2019-6502
- opensc SLE Module for Basesystem 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +2 more 0.19.0-150100.3.19.1
- opensc SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 0.18.0-150000.3.23.1
- opensc SLES for SAP 12 SP5, SLES 12 SP5 0.13.0-3.6.27
suse advisories SUSE-SU-2022:4196-1SUSE-SU-2022:1041-1SUSE-SU-2020:3133-1
- opensc openSUSE Tumbleweed 0.21.0-2.2
opensuse advisories openSUSE-SU-2024:11123-1
- opensc Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 0.20.0-r0
alpine advisories ALPINE-CVE-2019-6502
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- opensc Arch Linux 0.20.0-1
arch linux advisories AVG-1106
Is CVE-2019-6502 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-6502 updated cvss 0.0
opensc: memory leak in sc_context_create in ctx.c in libopensc
-
Red Hat Enterprise Linux 7 opensc Red Hat Enterprise Linux 8 openscnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.20% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/OpenSC/OpenSC/issues/1586 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/OpenSC/OpenSC/issues/1586
exploit, issue-tracking, third-party-advisory
-
openwall.com
/lists/oss-security/2019/12/29/1
mailing-list
-
lists.debian.org
/debian-lts-announce/2023/06/msg00025.html
mailing-list
Sources
- CVE List CVE-2019-6502
- NVD CVE-2019-6502
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.