# 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 pro…

- Vendor: Splunk, Universal Forwarder
- Severity: unknown
- Exploited (CISA KEV): not listed
- EPSS: 2.8% on 2026-12-02
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/
- Published: 2021-07-20; updated: 2022-08-14
- Page: https://patchtonight.com/cve/CVE-2021-36976/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| n/a n/a | See the advisory |

## The vendor's 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).

## Sources

- [Splunk advisory](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
