
CVE catalog
CVE-2021-36976
libarchive: CVE-2021-36976
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.84% · Oct 25, 2026
libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | fixed |
| Debian | libarchive | forky | 3.8.9-1 | fixed |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | fixed |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | fixed |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | fixed |
| Alpine | libarchive | 3.13 | 3.5.3-r0 | fixed |
| Alpine | libarchive | 3.14 | 3.5.3-r0 | fixed |
| Alpine | libarchive | 3.15 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.16 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.17 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.18 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.19 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.20 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.21 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.22 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.23 | 3.6.0-r0 | fixed |
| Alpine | libarchive | 3.24 | 3.6.0-r0 | fixed |
| Ubuntu | libarchive | 20.04 | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.1 | fixed |
| Ubuntu | libarchive | 22.04 | 3.4.3-2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.4.3-2build1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1ubuntu1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.6.0-1 | not yet assigned | Not reported | [991442] |
| Debian | libarchive | source | forky | 3.6.0-1 | not yet assigned | Not reported | [991442] |
| Debian | libarchive | source | trixie | 3.6.0-1 | not yet assigned | Not reported | [991442] |
| Debian | libarchive | source | bookworm | 3.6.0-1 | not yet assigned | Not reported | [991442] |
| Alpine | libarchive | apk | 3.13 | 3.5.3-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.14 | 3.5.3-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.15 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.16 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.17 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.18 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.19 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.20 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.21 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.22 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.23 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Alpine | libarchive | apk | 3.24 | 3.6.0-r0 | Not reported | ALPINE-CVE-2021-36976 | Not reported |
| Ubuntu | libarchive | deb | 20.04 | 3.4.0-2ubuntu1.1 | Not reported | UBUNTU-CVE-2021-36976 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.5.2-1ubuntu1 | Not reported | UBUNTU-CVE-2021-36976 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.0-1dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.6.0-1dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.6.0-1dsa · libarchive · debian · 13
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.6.0-1dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.6.0-1dsa · libarchive · debian · 13
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.6.0-1dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.6.0-1dsa · libarchive · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_0944-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-36976]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-36976]
- [https://osv.dev/vulnerability/DLA-3950-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-36976]
- [https://security-tracker.debian.org/tracker/CVE-2021-36976]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-36976.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1350.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]