Unrated severityNVD Advisory· Published Nov 22, 2022· Updated Nov 3, 2025
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
25(expand)+ 1 more
- (no CPE)
- (no CPE)range: <3.6.2
- 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
6- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/mitrevendor-advisory
- security.gentoo.org/glsa/202309-14mitrevendor-advisory
- lists.debian.org/debian-lts-announce/2023/01/msg00034.htmlmitremailing-list
- bugs.gentoo.org/882521mitre
- github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.cmitre
- github.com/libarchive/libarchive/issues/1754mitre
News mentions
0No linked articles in our index yet.