What’s Vulnerable › Vulnerabilities
CVE-2021-36976
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-07-20 · updated 2026-06-17
- Weakness: CWE-416
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 products
- Apple iPadOS: before 15.4 — fixed in 15.4
- Apple Iphone Os: before 15.4 — fixed in 15.4
- Apple macOS: before 12.3 — fixed in 12.3
- Apple watchOS: before 8.5 — fixed in 8.5
- Fedoraproject Fedora: 35
- libarchive: from 3.4.1 through 3.5.2
- Splunk Universal Forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0 — fixed in 8.2.12, 9.0.6
How to fix
Upgrade to a fixed version: Apple iPadOS 15.4; Apple Iphone Os 15.4; Apple macOS 12.3; Apple watchOS 8.5; Splunk Universal Forwarder 8.2.12, 9.0.6. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/Mar/27
- http://seclists.org/fulldisclosure/2022/Mar/28
- http://seclists.org/fulldisclosure/2022/Mar/29
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/
- https://security.gentoo.org/glsa/202208-26
- https://support.apple.com/kb/HT213182
- https://support.apple.com/kb/HT213183
- https://support.apple.com/kb/HT213193
- http://seclists.org/fulldisclosure/2022/Mar/27
- http://seclists.org/fulldisclosure/2022/Mar/28
Get alerted when CVE-2021-36976 or the next vulnerability affects your stack