{"id":"CVE-2021-42779","details":"A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.","modified":"2026-04-09T08:17:55.384411Z","published":"2022-04-18T17:15:16.177Z","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/2023/06/msg00025.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202209-03"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/1db88374"},{"type":"FIX","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2016086"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensc/opensc","events":[{"introduced":"0"},{"fixed":"c902e1992195e00ada12d71beb1029287cd72037"},{"fixed":"1db88374"}],"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":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-42779.json"}}],"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"}]}