Vulnerabilities · 2021 · Libarchive
CVE-2021-36976
Libarchive vulnerability
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
Libarchive, Fedora, Ipados, Iphone Os, Macos, Watchos, Universal Forwarder. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libarchive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- seclists.org/fulldisclosure/2022/Mar/27 · Third Party Advisory
- seclists.org/fulldisclosure/2022/Mar/28 · Third Party Advisory
- seclists.org/fulldisclosure/2022/Mar/29 · Third Party Advisory
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375 · Third Party Advisory
- github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S · Third Party Advisory
- security.gentoo.org/glsa/202208-26 · Third Party Advisory
- support.apple.com/kb/HT213182 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-36976
- cve.org/CVERecord?id=CVE-2021-36976
More vulnerabilities in Libarchive products
CVE-2025-60753CVE-2025-25724CVE-2025-5918CVE-2025-5917CVE-2025-5916CVE-2025-5915CVE-2025-5914CVE-2025-1632All 72
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.