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. Upstream commits: https://github.com/OpenSC/OpenSC/commit/17d8980c https://github.com/OpenSC/OpenSC/commit/40c50a3a https://github.com/OpenSC/OpenSC/commit/05648b06 https://github.com/OpenSC/OpenSC/commit/5d4daf6c https://github.com/OpenSC/OpenSC/commit/cae5c71f References: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30112 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31540 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32149 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32202 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32807