{"id":"CVE-2021-42781","aliases":["CVE-2021-42781"],"related":[],"kind":"vulnerability","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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se han encontrado problemas de desbordamiento del búfer de la pila en Opensc versiones anteriores a 0.22.0 en el archivo pkcs15-oberthur.c que podrían bloquear los programas usando la biblioteca","source":"nvd"}],"published":"2022-04-18T00:00:00.000Z","modified":"2026-06-17T04:10:08.200Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-119","CWE-787"],"affected":[{"ranges":[{"version":"opensc 0.22.0","status":"affected"}],"product":"opensc","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.22.0"}],"vendor":"opensc_project","product":"opensc","cpe":"cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016439","tags":["issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/17d8980c","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/40c50a3a","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/05648b06","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/5d4daf6c","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/cae5c71f","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202209-03","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-42781","url":"https://www.cve.org/CVERecord?id=CVE-2021-42781","licence":"CVE Terms of Use","modified":"2025-11-03T21:45:30.959Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42781","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42781","licence":"Public domain","modified":"2026-06-17T04:10:08.200Z"}],"updatedAt":"2026-11-25T22:58:07.392Z","epss":{"score":0.02873,"percentile":0.87193,"date":"2026-12-01T12:00:22.000Z"}}