{"id":"CVE-2021-42781","state":"PUBLISHED","title":"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.","description":"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.","publishedAt":"2022-04-18T00:00:00.000Z","updatedAt":"2025-11-03T21:45:30.959Z","severity":null,"assigner":"redhat","products":["n/a opensc"],"affected":[{"vendor":"n/a","product":"opensc","versions":[{"version":"opensc 0.22.0","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2016439","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","https://security.gentoo.org/glsa/202209-03","https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html","https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html"],"weaknesses":["CWE-119"],"ingestedAt":"2026-10-29T19:49:04.473Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/42xxx/CVE-2021-42781.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-42781","state":"PUBLISHED","datePublished":"2022-04-18T00:00:00.000Z","dateUpdated":"2025-11-03T21:45:30.959Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-10-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"opensc","versions":[{"version":"opensc 0.22.0","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016439"},{"url":"https://github.com/OpenSC/OpenSC/commit/17d8980c"},{"url":"https://github.com/OpenSC/OpenSC/commit/40c50a3a"},{"url":"https://github.com/OpenSC/OpenSC/commit/05648b06"},{"url":"https://github.com/OpenSC/OpenSC/commit/5d4daf6c"},{"url":"https://github.com/OpenSC/OpenSC/commit/cae5c71f"},{"url":"https://security.gentoo.org/glsa/202209-03","name":"GLSA-202209-03","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html","name":"[debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"CWE-119"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2023-06-21T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016439","tags":["x_transferred"]},{"url":"https://github.com/OpenSC/OpenSC/commit/17d8980c","tags":["x_transferred"]},{"url":"https://github.com/OpenSC/OpenSC/commit/40c50a3a","tags":["x_transferred"]},{"url":"https://github.com/OpenSC/OpenSC/commit/05648b06","tags":["x_transferred"]},{"url":"https://github.com/OpenSC/OpenSC/commit/5d4daf6c","tags":["x_transferred"]},{"url":"https://github.com/OpenSC/OpenSC/commit/cae5c71f","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-03","name":"GLSA-202209-03","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html","name":"[debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:45:30.959Z"}}]}}}