
CVE catalog
CVE-2022-36227
libarchive vulnerabilities
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.44% · Oct 25, 2026
A flaw was found in libarchive. A missing check of the return value of the calloc function can cause a NULL pointer dereference in an out-of-memory condition or when a memory allocation limit is reached, resulting in the program linked with libarchive to crash. libarchive: NULL pointer dereference in archive_write.c This vulnerability can only be exploited in an out-of-memory condition or when a memory allocation limit is reached. Additionally, the only known security impact of this issue is a denial of service. Due to these conditions, this flaw was rated as having a low severity. The out-of-memory condition is triggered when all physical memory, including swap space, is being used. Furthermore, depending on the configuration, this event can cause the out-of-memory killer (OOM-Killer) to be activated, terminating the application and preventing the NULL pointer dereference from being exploited. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
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 |
| Ubuntu | libarchive | noble | 3.6.2-1 | fixed |
| Ubuntu | libarchive | noble | 3.7.2-2ubuntu0.2 | fixed |
| Ubuntu | libarchive-dev | noble | 3.7.2-2ubuntu0.2 | fixed |
| Ubuntu | libarchive-tools | noble | 3.7.2-2ubuntu0.2 | fixed |
| Ubuntu | libarchive13t64 | noble | 3.7.2-2ubuntu0.2 | fixed |
| Cpe | libarchive | Not reported | 3.6.2 | fixed |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | fedora | Not reported | Not reported | unknown |
| Cpe | universal_forwarder | Not reported | Not reported | unknown |
| Ubuntu | libarchive | pro | 3.2.2-3.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.6 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7+esm1 | 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 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.3 | 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 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.2 | fixed |
| Ubuntu | libarchive | 24.04 | 3.6.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1.1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.2 | fixed |
| Ubuntu | libarchive | pro | 3.2.2-3.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.6 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7+esm1 | 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 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.3 | 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 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.2 | fixed |
| Suse | libarchive | linux enterprise software development kit 12 sp5 | 3.3.3-32.8.1 | fixed |
| Suse | libarchive | linux enterprise server 12 sp5 | 3.3.3-32.8.1 | fixed |
| Suse | libarchive | linux enterprise server for sap applications 12 sp5 | 3.3.3-32.8.1 | fixed |
| Opensuse | bsdtar | tumbleweed | 3.6.2-1.1 | fixed |
| Suse | libarchive | linux enterprise micro 5.3 | 3.5.1-150400.3.12.1 | fixed |
| Suse | libarchive | linux enterprise module for basesystem 15 sp4 | 3.5.1-150400.3.12.1 | fixed |
| Suse | libarchive | linux enterprise module for development tools 15 sp4 | 3.5.1-150400.3.12.1 | fixed |
| Opensuse | libarchive | leap micro 5.3 | 3.5.1-150400.3.12.1 | fixed |
| Opensuse | libarchive | leap 15.4 | 3.5.1-150400.3.12.1 | fixed |
| Suse | libarchive | linux enterprise module for basesystem 15 sp3 | 3.4.2-150200.4.15.1 | fixed |
| Suse | libarchive | linux enterprise module for development tools 15 sp3 | 3.4.2-150200.4.15.1 | fixed |
| Opensuse | libarchive | leap 15.3 | 3.4.2-150200.4.15.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.6.2-1 | not yet assigned | Not reported | [1024669] |
| Debian | libarchive | source | forky | 3.6.2-1 | not yet assigned | Not reported | [1024669] |
| Debian | libarchive | source | trixie | 3.6.2-1 | not yet assigned | Not reported | [1024669] |
| Debian | libarchive | source | bookworm | 3.6.2-1 | not yet assigned | Not reported | [1024669] |
| Ubuntu | libarchive | deb | noble | 3.6.2-1 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive | deb | noble | 3.7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-dev | deb | noble | 3.7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-tools | deb | noble | 3.7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive13t64 | deb | noble | 3.7.2-2ubuntu0.2 | Not reported | Not reported | Not reported |
| Cpe | libarchive | cpe | Not reported | 3.6.2 | Not reported | NVD-CVE-2022-36227 | Not reported |
| Ubuntu | libarchive | deb | pro | 3.2.2-3.1ubuntu0.7+esm1 | Not reported | USN-7070-1 | Not reported |
| Ubuntu | libarchive | deb | 20.04 | 3.4.0-2ubuntu1.3 | Not reported | USN-7070-1 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.2 | Not reported | USN-7070-1 | Not reported |
| Ubuntu | libarchive | deb | 24.04 | 3.7.2-2ubuntu0.2 | Not reported | USN-7070-1 | Not reported |
| Ubuntu | libarchive | deb | pro | 3.2.2-3.1ubuntu0.7+esm1 | Not reported | UBUNTU-CVE-2022-36227 | Not reported |
| Ubuntu | libarchive | deb | 20.04 | 3.4.0-2ubuntu1.3 | Not reported | UBUNTU-CVE-2022-36227 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.2 | Not reported | UBUNTU-CVE-2022-36227 | Not reported |
| Suse | libarchive | rpm | linux enterprise software development kit 12 sp5 | 3.3.3-32.8.1 | Not reported | SUSE-SU-2022:4296-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise server 12 sp5 | 3.3.3-32.8.1 | Not reported | SUSE-SU-2022:4296-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise server for sap applications 12 sp5 | 3.3.3-32.8.1 | Not reported | SUSE-SU-2022:4296-1 | Not reported |
| Opensuse | bsdtar | rpm | tumbleweed | 3.6.2-1.1 | Not reported | OPENSUSE-SU-2024:12588-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise micro 5.3 | 3.5.1-150400.3.12.1 | Not reported | SUSE-SU-2022:4209-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for basesystem 15 sp4 | 3.5.1-150400.3.12.1 | Not reported | SUSE-SU-2022:4209-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for development tools 15 sp4 | 3.5.1-150400.3.12.1 | Not reported | SUSE-SU-2022:4209-1 | Not reported |
| Opensuse | libarchive | rpm | leap micro 5.3 | 3.5.1-150400.3.12.1 | Not reported | SUSE-SU-2022:4209-1 | Not reported |
| Opensuse | libarchive | rpm | leap 15.4 | 3.5.1-150400.3.12.1 | Not reported | SUSE-SU-2022:4209-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for basesystem 15 sp3 | 3.4.2-150200.4.15.1 | Not reported | SUSE-SU-2022:4202-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise module for development tools 15 sp3 | 3.4.2-150200.4.15.1 | Not reported | SUSE-SU-2022:4202-1 | Not reported |
| Opensuse | libarchive | rpm | leap 15.3 | 3.4.2-150200.4.15.1 | Not reported | SUSE-SU-2022:4202-1 | 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.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.6.2-1usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.6.2-1usn · libarchive · debian · 13
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.6.2-1usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.6.2-1usn · libarchive · debian · 13
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.6.2-1usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.6.2-1usn · libarchive · debian · 13
[openSUSE Tumbleweed]
- [bsdtar]Fixed
Source package: [libarchive]
Details (1)
3.8.7-1.4· x86_64 · tumbleweedFixed · Fixed:
3.6.2-1.1usn · bsdtar · opensuse · tumbleweed
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-806742.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_3018.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2022-36227]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2022-36227]
- [https://osv.dev/vulnerability/DLA-3294-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4202-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4209-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4296-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-36227]
- [https://osv.dev/vulnerability/USN-7070-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12588-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-36227]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-36227.json]
- [https://ubuntu.com/security/notices/USN-7070-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-2143.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]