{"id":"CVE-2021-36976","details":"libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).","modified":"2026-03-20T11:42:43.763016Z","published":"2021-07-20T07:15:07.950Z","related":["MGASA-2022-0060","SUSE-SU-2022:0944-1","SUSE-SU-2022:0944-2","SUSE-SU-2022:1930-1","openSUSE-SU-2022:0944-1","openSUSE-SU-2024:11894-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT213193"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT213182"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT213183"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/Mar/27"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/Mar/28"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/Mar/29"},{"type":"ADVISORY","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-26"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libarchive/libarchive","events":[{"introduced":"cce09646b566c61c2debff58a70da780b8457883"},{"last_affected":"1b2c437b99b361c7692538fa373e99955e9b93ae"}],"database_specific":{"versions":[{"introduced":"3.4.1"},{"last_affected":"3.5.2"}]}}],"versions":["v3.4.1","v3.4.2","v3.4.3","v3.5.0","v3.5.1","v3.5.2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"fixed":"15.4"}]},{"events":[{"introduced":"0"},{"fixed":"15.4"}]},{"events":[{"introduced":"0"},{"fixed":"12.3"}]},{"events":[{"introduced":"0"},{"fixed":"8.5"}]},{"events":[{"introduced":"8.2.0"},{"fixed":"8.2.12"}]},{"events":[{"introduced":"9.0.0"},{"fixed":"9.0.6"}]},{"events":[{"introduced":"0"},{"last_affected":"9.1.0"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-36976.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}