Home / Libarchive / Libarchive / CVE-2021-36976
CVE-2021-36976: is it exploited, and which versions of Libarchive are affected and fixed?
CVE-2021-36976 is an use after free vulnerability in Libarchive. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: libarchive from 3.4.1 through 3.5.2, fedora 35, ipados before 15.4 and 6 more (NVD). Fixed in 15.4, 12.3, 8.5, 8.2.12 and 1 more (NVD). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-36976?
libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).
From the CVE record by mitre, last updated November 2, 2026, 18:04 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libarchive | libarchive | from 3.4.1 through 3.5.2 | application |
| fedoraproject | fedora | 35 | operating system |
| apple | ipados | before 15.4 | operating system |
| apple | iphone os | before 15.4 | operating system |
| apple | macos | before 12.3 | operating system |
| apple | watchos | before 8.5 | operating system |
| splunk | universal forwarder | from 8.2.0 before 8.2.12 | application |
| splunk | universal forwarder | from 9.0.0 before 9.0.6 | application |
| splunk | universal forwarder | 9.1.0 | application |
NVD analysis (status Modified), last modified November 2, 2026, 19:17 UTC.
How severe is CVE-2021-36976?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-36976 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 8, 2026)
- EPSS
- 2.84% probability of exploitation activity in the next 30 days, percentile 87.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml x_refsource_MISC
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375 x_refsource_MISC
- FEDORA-2022-9bb794c5f5 vendor-advisory, x_refsource_FEDORA
- https://support.apple.com/kb/HT213183 x_refsource_CONFIRM
- https://support.apple.com/kb/HT213182 x_refsource_CONFIRM
- https://support.apple.com/kb/HT213193 x_refsource_CONFIRM
- 20220314 APPLE-SA-2022-03-14-2 watchOS 8.5 mailing-list, x_refsource_FULLDISC
- 20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3 mailing-list, x_refsource_FULLDISC
- 20220314 APPLE-SA-2022-03-14-1 iOS 15.4 and iPadOS 15.4 mailing-list, x_refsource_FULLDISC
- GLSA-202208-26 vendor-advisory, x_refsource_GENTOO
- https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html
When was it published, and where is the official record?
- Reserved
- July 20, 2021
- Published
- July 20, 2021, 06:49 UTC
- CVE record updated
- November 2, 2026, 18:04 UTC by mitre
- NVD
- Modified, last modified November 2, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libarchive?
- Sep 14, 2026CVE-2025-64031 libarchive: heap buffer overflow
- Nov 5, 2025CVE-2025-60753 Libarchive: denial of service (uncontrolled resource consumption)
- Mar 28, 2025CVE-2024-48615 Libarchive: NULL pointer dereference (crash)
- Mar 2, 2025CVE-2025-25724 libarchive: unchecked return value
- Feb 24, 2025CVE-2025-1632 libarchive: NULL pointer dereference (crash)
- Feb 16, 2025CVE-2024-57970 libarchive: buffer Over-read
- Oct 10, 2024CVE-2024-48958 Libarchive: out-of-bounds read
- Oct 10, 2024CVE-2024-48957 Libarchive: out-of-bounds read
Questions about CVE-2021-36976
Is CVE-2021-36976 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 2.84% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Libarchive are affected by CVE-2021-36976?
libarchive from 3.4.1 through 3.5.2, fedora 35, ipados before 15.4, iphone os before 15.4, macos before 12.3, watchos before 8.5 and 3 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-36976?
15.4, 12.3, 8.5, 8.2.12 and 9.0.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-36976?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-36976?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.