Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.
https://security.gentoo.org/glsa/202209-03
https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
https://github.com/OpenSC/OpenSC/commit/cae5c71f
https://github.com/OpenSC/OpenSC/commit/5d4daf6c
https://github.com/OpenSC/OpenSC/commit/40c50a3a
https://github.com/OpenSC/OpenSC/commit/17d8980c