Several buffer overflows when handling responses from a Gemsafe V1 Smartcard in gemsafe_get_cert_len in libopensc/pkcs15-gemsafeV1.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.
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/
https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html
https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1
https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad