CVE-2021-42779
5.3medium
A heap use after free issue was found in Opensc before version 0.22.0 in scfilevalid.
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.08% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| opensc | opensc 0.22.0 | CVE List |
| opensc_project opensc | before 0.22.0 | NVD |
| fedoraproject fedora | 33 | NVD |
| redhat enterprise_linux | 7.0, 8.0 | NVD |
All scores
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.
NVD (es)
Se encontró un problema de uso de memoria previamente liberada de la pila en Opensc versiones anteriores a 0.22.0, en la función sc_file_valid
References
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843 | issue-tracking, mailing-list, patch, third-party-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2016086 | issue-tracking, patch, third-party-advisory | |
| https://github.com/OpenSC/OpenSC/commit/1db88374 | patch, third-party-advisory | |
| https://security.gentoo.org/glsa/202209-03 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html | mailing-list | |
| https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42779 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2021-42779 changed 2026-06-17 | Public domain |