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).
02 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).
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.84% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 86.4% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-07-20 06:49Z5 YR AGO
- Last updated
- 2025-11-03 21:45Z11 MO AGO
- Reserved
- 2021-07-20
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- 8f1c00590467fadddc8f8dd8c8e91b67ed98e05fb4f5c334470ffac73c32b607
05 Affected products
06 References
- github.comhttps://github.com/google/oss-fuzz-vulns/blob/main/vulns/libarchive/OSV-2021-557.yaml
- bugs.chromium.orghttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375
- lists.fedoraproject.orgFEDORA-2022-9bb794c5f5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SE5NJQNM22ZE5Z55LPAGCUHSBQZBKMKC/
- support.apple.comhttps://support.apple.com/kb/HT213183
- support.apple.comhttps://support.apple.com/kb/HT213182
- support.apple.comhttps://support.apple.com/kb/HT213193
- seclists.org20220314 APPLE-SA-2022-03-14-2 watchOS 8.5http://seclists.org/fulldisclosure/2022/Mar/28
- seclists.org20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3http://seclists.org/fulldisclosure/2022/Mar/29
- seclists.org20220314 APPLE-SA-2022-03-14-1 iOS 15.4 and iPadOS 15.4http://seclists.org/fulldisclosure/2022/Mar/27
- security.gentoo.orgGLSA-202208-26https://security.gentoo.org/glsa/202208-26
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/11/msg00007.html
07 Fixed in
Arch Linux
- libarchive Fixed in 3.6.1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- libarchive Fixed in 3.6.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libarchive Fixed in 3.6.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libarchive Fixed in 3.6.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libarchive Fixed in 3.4.0-2ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- libarchive Fixed in 3.5.2-1ubuntu1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.