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).
Details
CVE ID
CVE-2021-36976
Published / updated
20 Jul 2021, 07:15 UTC · last modified 02 Nov 2026, 19:17 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 ·
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H · Attack vector: NetworkAffected vendor
Affected products
Ipados, Iphone Os, Macos, Watchos, Fedora, Libarchive, Universal Forwarder
Affected versions
Ipados: < 15.4
Iphone Os: < 15.4
Macos: < 12.3
Watchos: < 8.5
Fedora: 35
Libarchive: ≥ 3.4.1, ≤ 3.5.2
Universal Forwarder: ≥ 8.2.0, < 8.2.12
Universal Forwarder: ≥ 9.0.0, < 9.0.6
Universal Forwarder: 9.1.0
Fixed versions
ipados 15.4, iphone os 15.4, macos 12.3, watchos 8.5, universal forwarder 8.2.12, universal forwarder 9.0.6
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
2.84% probability of exploitation in the next 30 days · 87% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (ipados 15.4, iphone os 15.4, macos 12.3, watchos 8.5, universal forwarder 8.2.12, universal forwarder 9.0.6) per the vendor advisory.
Source (CNA)
cve@mitre.org
References (11)
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375 | Issue TrackingThird Party Advisory |
| http://seclists.org/fulldisclosure/2022/Mar/27 | Mailing ListThird Party Advisory |
| http://seclists.org/fulldisclosure/2022/Mar/28 | Mailing ListThird Party Advisory |
| http://seclists.org/fulldisclosure/2022/Mar/29 | Mailing ListThird Party Advisory |
| https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/ | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202208-26 | Third Party Advisory |
| https://support.apple.com/kb/HT213182 | Third Party Advisory |
| https://support.apple.com/kb/HT213183 | Third Party Advisory |
| https://support.apple.com/kb/HT213193 | Third Party Advisory |
AI plain-English explainer
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
What Is Remote Code Execution (RCE)?RCE lets an attacker run their own commands on a system they don't control. Learn the common causes, real examples and how to reduce the risk.Beginner · 4-minute readCVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readTrack this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Apple Ipados+ Apple Iphone Os+ Apple Macos+ Apple Watchos