CVE-2022-36227

Summary

CVECVE-2022-36227
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-11-22 02:15:11 UTC
Updated2026-10-08 21:17:48 UTC
DescriptionIn libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution."

Risk And Classification

Primary CVSS: v3.1 9.8 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-476 | n/a

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Fedoraproject Fedora 37 All All All
Application Libarchive Libarchive All All All All
Application Splunk Universal Forwarder All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
libarchive: Multiple Vulnerabilities (GLSA 202309-14) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
[SECURITY] [DLA 3294-1] libarchive security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
libarchive/archive_write.c at v3.0.0a · libarchive/libarchive · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
[SECURITY] Fedora 37 Update: libarchive-3.6.1-3.fc37 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
lists.debian.org/debian-lts-announce/2024/11/msg00007.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
882521 – (CVE-2022-36227) app-arch/libarchive: null pointer dereference af854a3a-2127-422b-91ae-364da2661108 bugs.gentoo.org Issue Tracking, Patch, Third Party Advisory
There is a NULL pointer dereference vulnerability · Issue #1754 · libarchive/libarchive · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Patch, Third Party Advisory
[SECURITY] Fedora 37 Update: libarchive-3.6.1-3.fc37 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160605 Oracle Enterprise Linux Security Update for libarchive (ELSA-2023-2532)
  • 160675 Oracle Enterprise Linux Security Update for libarchive (ELSA-2023-3018)
  • 181531 Debian Security Update for libarchive (DLA 3294-1)
  • 184855 Debian Security Update for libarchive (CVE-2022-36227)
  • 241427 Red Hat Update for libarchive (RHSA-2023:2532)
  • 241480 Red Hat Update for libarchive (RHSA-2023:3018)
  • 242686 Red Hat Update for libarchive (RHSA-2024:0146)
  • 283538 Fedora Security Update for libarchive (FEDORA-2022-e15be0091f)
  • 355621 Amazon Linux Security Advisory for libarchive : ALAS2023-2023-246
  • 356413 Amazon Linux Security Advisory for libarchive : ALAS2-2023-2279
  • 356758 Amazon Linux Security Advisory for libarchive : ALAS2-2023-2364
  • 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 502604 Alpine Linux Security Update for libarchive
  • 502605 Alpine Linux Security Update for libarchive
  • 502734 Alpine Linux Security Update for libarchive
  • 505625 Alpine Linux Security Update for libarchive
  • 672589 EulerOS Security Update for libarchive (EulerOS-SA-2023-1322)
  • 672644 EulerOS Security Update for libarchive (EulerOS-SA-2023-1361)
  • 672645 EulerOS Security Update for libarchive (EulerOS-SA-2023-1389)
  • 672696 EulerOS Security Update for libarchive (EulerOS-SA-2023-1426)
  • 672700 EulerOS Security Update for libarchive (EulerOS-SA-2023-1411)
  • 672729 EulerOS Security Update for libarchive (EulerOS-SA-2023-1446)
  • 672757 EulerOS Security Update for libarchive (EulerOS-SA-2023-1471)
  • 673083 EulerOS Security Update for libarchive (EulerOS-SA-2023-2154)
  • 710757 Gentoo Linux libarchive Multiple Vulnerabilities (GLSA 202309-14)
  • 752822 SUSE Enterprise Linux Security Update for libarchive (SUSE-SU-2022:4209-1)
  • 752888 SUSE Enterprise Linux Security Update for libarchive (SUSE-SU-2022:4202-1)
  • 752936 SUSE Enterprise Linux Security Update for libarchive (SUSE-SU-2022:4296-1)
  • 904559 Common Base Linux Mariner (CBL-Mariner) Security Update for libarchive (11473)
  • 904561 Common Base Linux Mariner (CBL-Mariner) Security Update for libarchive (11470)
  • 904627 Common Base Linux Mariner (CBL-Mariner) Security Update for libarchive (11473-1)
  • 904637 Common Base Linux Mariner (CBL-Mariner) Security Update for libarchive (11470-1)
  • 904908 Common Base Linux Mariner (CBL-Mariner) Security Update for cmake (12316)
  • 905079 Common Base Linux Mariner (CBL-Mariner) Security Update for cmake (12477)
  • 941050 AlmaLinux Security Update for libarchive (ALSA-2023:2532)
  • 941070 AlmaLinux Security Update for libarchive (ALSA-2023:3018)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report