What’s Vulnerable › Vulnerabilities
CVE-2021-42779
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-18 · updated 2026-06-17
- Weakness: CWE-416
Description
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.
Affected products
- Fedoraproject Fedora: 33
- OpenSC: before 0.22.0 — fixed in 0.22.0
- Red Hat Enterprise Linux: 7.0, 8.0
How to fix
Upgrade to a fixed version: OpenSC 0.22.0. Check the vendor advisory for mitigations.
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843
- https://bugzilla.redhat.com/show_bug.cgi?id=2016086
- https://github.com/OpenSC/OpenSC/commit/1db88374
- https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
- https://security.gentoo.org/glsa/202209-03
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843
- https://bugzilla.redhat.com/show_bug.cgi?id=2016086
- https://github.com/OpenSC/OpenSC/commit/1db88374
- https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
- https://security.gentoo.org/glsa/202209-03
Get alerted when CVE-2021-42779 or the next vulnerability affects your stack