| Name | CVE-2019-6502 | 
| Description | sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-3463-1 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| opensc (PTS) | bullseye | 0.21.0-1 | fixed | 
|  | bullseye (security) | 0.21.0-1+deb11u1 | fixed | 
|  | bookworm | 0.23.0-0.3+deb12u2 | fixed | 
|  | trixie | 0.26.1-2 | fixed | 
|  | forky, sid | 0.26.1-3 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| opensc | source | buster | 0.19.0-1+deb10u2 |  | DLA-3463-1 |  | 
| opensc | source | (unstable) | 0.20.0-1 | unimportant |  |  | 
Notes
https://github.com/OpenSC/OpenSC/issues/1586
https://github.com/OpenSC/OpenSC/commit/0d7967549751b7032f22b437106b41444aff0ba9 (0.20.0-rc1)
Negligible security impact, assigning a CVE seems out of proportion...