| Name | CVE-2018-16420 |
| Description | Several buffer overflows when handling responses from an ePass 2003 Card in decrypt_response in libopensc/card-epass2003.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. |
| Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1916-1 |
| Debian Bugs | 909444 |
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 | jessie | 0.16.0-3+deb8u1 | | DLA-1916-1 | |
| opensc | source | stretch | 0.16.0-3+deb9u1 | | | |
| opensc | source | (unstable) | 0.19.0~rc1-1 | low | | 909444 |
Notes
https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-b36536074d13447fbbec061e0e64d15d
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/