{"id":"CVE-2021-42782","aliases":["CVE-2021-42782"],"related":[],"kind":"vulnerability","state":"published","title":"Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the l…","summary":"Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.","source":"cvelist"},{"lang":"es","text":"Se han encontrado problemas de desbordamiento del buffer de pila en Opensc versiones anteriores a 0.22.0, en varios lugares que podrían bloquear los programas usando la biblioteca","source":"nvd"}],"published":"2022-04-18T00:00:00.000Z","modified":"2026-06-17T04:10:08.317Z","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"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016448","tags":["issue-tracking","mailing-list","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/78cdab94","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/7114fb71","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/1252aca9","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/ae1cf0be","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/456ac566","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-42782","url":"https://www.cve.org/CVERecord?id=CVE-2021-42782","licence":"CVE Terms of Use","modified":"2025-11-03T21:45:32.737Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42782","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42782","licence":"Public domain","modified":"2026-06-17T04:10:08.317Z"}],"updatedAt":"2026-11-25T22:58:07.392Z","epss":{"score":0.02782,"percentile":0.86771,"date":"2026-12-01T12:00:22.000Z"}}