CVE-2021-36976
6.5medium
libarchive 3.4.1 through 3.5.1 has a use-after-free in copystring (called from douncompressblock and processblock).
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.84% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| libarchive libarchive | from 3.4.1 up to 3.5.2 | NVD |
| fedoraproject fedora | 35 | NVD |
| apple ipados | before 15.4 | NVD |
| apple iphone_os | before 15.4 | NVD |
| apple macos | before 12.3 | NVD |
| apple watchos | before 8.5 | NVD |
| splunk universal_forwarder | from 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0 | NVD |
All scores
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).
NVD (es)
libarchive versiones 3.4.1 hasta 3.5.1, presenta un uso de memoria previamente liberada en la función copy_string (llamado desde do_uncompress_block y process_block)
References
| https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml | third-party-advisory | |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375 | issue-tracking, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/ | mailing-list, third-party-advisory, vendor-advisory | |
| https://support.apple.com/kb/HT213183 | third-party-advisory | |
| https://support.apple.com/kb/HT213182 | third-party-advisory | |
| https://support.apple.com/kb/HT213193 | third-party-advisory | |
| http://seclists.org/fulldisclosure/2022/Mar/28 | mailing-list, third-party-advisory | |
| http://seclists.org/fulldisclosure/2022/Mar/29 | mailing-list, third-party-advisory | |
| http://seclists.org/fulldisclosure/2022/Mar/27 | mailing-list, third-party-advisory | |
| https://security.gentoo.org/glsa/202208-26 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-36976 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2021-36976 changed 2026-11-02 | Public domain |