Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.
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/pull/1447/commits/8fe377e93b4b56060e5bbfb6f3142ceaeca744fa