Critical severity9.8NVD Advisory· Published Nov 22, 2022· Updated Jun 17, 2026
CVE-2022-36227
CVE-2022-36227
Description
In 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."
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
30cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*range: >=3.0.0,<3.6.2
- (no CPE)
- (no CPE)range: <3.6.2
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*range: >=8.2.0,<8.2.12
- cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
- osv-coords23 versionspkg:apk/chainguard/libarchivepkg:apk/chainguard/libarchive-devpkg:apk/chainguard/libarchive-docpkg:apk/chainguard/libarchive-toolspkg:apk/wolfi/libarchivepkg:apk/wolfi/libarchive-devpkg:apk/wolfi/libarchive-docpkg:apk/wolfi/libarchive-toolspkg:rpm/almalinux/bsdtarpkg:rpm/almalinux/libarchivepkg:rpm/almalinux/libarchive-develpkg:rpm/opensuse/bsdtar&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/libarchive&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/libarchive&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/libarchive&distro=openSUSE%20Leap%20Micro%205.3pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5
< 3.6.1-r2+ 22 more
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.6.1-r2
- (no CPE)range: < 3.5.3-4.el9
- (no CPE)range: < 3.5.3-4.el9
- (no CPE)range: < 3.5.3-4.el9
- (no CPE)range: < 3.6.2-1.1
- (no CPE)range: < 3.4.2-150200.4.15.1
- (no CPE)range: < 3.5.1-150400.3.12.1
- (no CPE)range: < 3.5.1-150400.3.12.1
- (no CPE)range: < 3.5.1-150400.3.12.1
- (no CPE)range: < 3.4.2-150200.4.15.1
- (no CPE)range: < 3.5.1-150400.3.12.1
- (no CPE)range: < 3.4.2-150200.4.15.1
- (no CPE)range: < 3.5.1-150400.3.12.1
- (no CPE)range: < 3.3.3-32.8.1
- (no CPE)range: < 3.3.3-32.8.1
- (no CPE)range: < 3.3.3-32.8.1
Patches
Vulnerability mechanics
References
7- bugs.gentoo.org/882521nvdIssue TrackingPatchThird Party Advisory
- github.com/libarchive/libarchive/issues/1754nvdIssue TrackingPatchThird Party Advisory
- github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.cnvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2023/01/msg00034.htmlnvdThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/nvdMailing ListThird Party Advisory
- security.gentoo.org/glsa/202309-14nvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2024/11/msg00007.htmlnvd
News mentions
0No linked articles in our index yet.