# CVE-2021-36976

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-07-20 · Modified: 2026-11-02
- Aliases: ALPINE-CVE-2021-36976, RHBA-2022:3897, UBUNTU-CVE-2021-36976, DEBIAN-CVE-2021-36976
- Record: https://cvemate.com/vulnerability/CVE-2021-36976 · JSON: https://cvemate.com/vulnerability/CVE-2021-36976/json

## Description

```text
libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 2.845%, percentile 87.14%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libarchive (Alpine Linux): ≥ 3.4.1, \< 3.5.3-r0 \| ≥ 3.4.1, \< 3.6.0-r0
- apple ipados: \< 15.4
- apple iphone\_os: \< 15.4
- apple macos: \< 12.3
- apple watchos: \< 8.5
- debian libarchive (Debian): \< 3.6.0-1
- ubuntu libarchive (Ubuntu): \< 3.4.0-2ubuntu1.1 \| \< 3.5.2-1ubuntu1
- fedoraproject fedora: 35
- libarchive libarchive: ≥ 3.4.1, ≤ 3.5.2
- redhat bsdcat-debuginfo (Red Hat): \< 0:3.5.3-1.el9
- redhat bsdcpio-debuginfo (Red Hat): \< 0:3.5.3-1.el9
- redhat bsdtar (Red Hat): \< 0:3.5.3-1.el9
- redhat bsdtar-debuginfo (Red Hat): \< 0:3.5.3-1.el9
- redhat libarchive (Red Hat): \< 0:3.5.3-1.el9
- redhat libarchive-debuginfo (Red Hat): \< 0:3.5.3-1.el9
- redhat libarchive-debugsource (Red Hat): \< 0:3.5.3-1.el9
- redhat libarchive-devel (Red Hat): \< 0:3.5.3-1.el9
- splunk universal\_forwarder: ≥ 8.2.0, \< 8.2.12 \| ≥ 9.0.0, \< 9.0.6 \| 9.1.0

## References (first 20 of 23)

- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml>
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/>
- <https://support.apple.com/kb/HT213183>
- <https://support.apple.com/kb/HT213182>
- <https://support.apple.com/kb/HT213193>
- <http://seclists.org/fulldisclosure/2022/Mar/28>
- <http://seclists.org/fulldisclosure/2022/Mar/29>
- <http://seclists.org/fulldisclosure/2022/Mar/27>
- <https://security.gentoo.org/glsa/202208-26>
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html>
- <https://security.alpinelinux.org/vuln/CVE-2021-36976>
- <https://access.redhat.com/errata/RHBA-2022:3897>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.0_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1996634>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhba-2022_3897.json>
- <https://access.redhat.com/security/cve/CVE-2021-36976>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1984646>
- <https://www.cve.org/CVERecord?id=CVE-2021-36976>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36976>

---

Data as of 2026-12-05T05:31:51.240Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
