{"id":"CVE-2021-42781","details":"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.","modified":"2026-04-10T04:39:16.047873Z","published":"2022-04-18T17:15:16.303Z","related":["MGASA-2021-0512","SUSE-SU-2021:3582-1","SUSE-SU-2022:1041-1","SUSE-SU-2022:1156-1","openSUSE-SU-2024:11613-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202209-03"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016439"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/05648b06"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/17d8980c"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/40c50a3a"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/5d4daf6c"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/cae5c71f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensc/opensc","events":[{"introduced":"0"},{"fixed":"c902e1992195e00ada12d71beb1029287cd72037"},{"fixed":"05648b06"},{"fixed":"17d8980c"},{"fixed":"40c50a3a"},{"fixed":"5d4daf6c"},{"fixed":"cae5c71f"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.22.0"}]}}],"versions":["0.12.2","0.12.2-rc1","0.13.0","0.13.0pre1","0.13.0rc1","0.14.0","0.14.0rc2","0.14.0rtm","0.15.0","0.16.0","0.17.0","0.17.0-rc1","0.17.0-rc2","0.18.0","0.18.0-rc1","0.18.0-rc2","0.19.0","0.19.0-rc1","0.20.0","0.20.0-rc1","0.20.0-rc2","0.20.0-rc3","0.20.0-rc4","0.21.0","0.21.0-rc1","0.21.0-rc2","0.22.0-rc1","0.22.0-rc2","v0.12.2","v0.16.0-pre1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42781.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}