CVE-2022-36227: debian debian_linux NULL Pointer Dereference
Vulnerability summary
CVE-2022-36227 is a critical (CVSS 9.8) NULL Pointer Dereference vulnerability in debian debian_linux. EPSS estimates a 2.44% chance of exploitation in the next 30 days, higher than 84.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 22-11-2022PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
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."
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.44%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
+0.09 pp
From 2.36% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat8 products
- bsdcat-debuginfo< 0:3.5.3-4.el9 | < 0:3.3.3-5.el8 | < 0:3.3.3-4.el8_6
- bsdcpio-debuginfo< 0:3.5.3-4.el9 | < 0:3.3.3-5.el8 | < 0:3.3.3-4.el8_6
- bsdtar< 0:3.5.3-4.el9 | < 0:3.3.3-5.el8 | < 0:3.3.3-4.el8_6
- bsdtar-debuginfo< 0:3.5.3-4.el9 | < 0:3.3.3-5.el8 | < 0:3.3.3-4.el8_6
- libarchive< 0:3.5.3-4.el9 | < 0:3.3.3-5.el8 | < 0:3.3.3-4.el8_6
Suse8 products
- libarchive&distro=SUSE Linux Enterprise Micro 5.3< 3.5.1-150400.3.12.1
- libarchive&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3< 3.4.2-150200.4.15.1
- libarchive&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 3.5.1-150400.3.12.1
- libarchive&distro=SUSE Linux Enterprise Module for Development Tools 15 SP3< 3.4.2-150200.4.15.1
- libarchive&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4< 3.5.1-150400.3.12.1
Opensuse4 products
- bsdtar&distro=openSUSE Tumbleweed< 3.6.2-1.1
- libarchive&distro=openSUSE Leap 15.3< 3.4.2-150200.4.15.1
- libarchive&distro=openSUSE Leap 15.4< 3.5.1-150400.3.12.1
- libarchive&distro=openSUSE Leap Micro 5.3< 3.5.1-150400.3.12.1
Debian2 products
- libarchive< 3.6.2-1 | < 3.3.3-4+deb10u3
- debian_linuxEOL10.0
Alpine1 product
- libarchive≥ 3.0.0, < 3.5.3-r1 | ≥ 3.0.0, < 3.6.1-r1 | ≥ 3.0.0, < 3.6.1-r2
Chainguard1 product
- libarchive< 3.6.1-r2
Fedoraproject1 product
- fedoraEOL37
Libarchive1 product
- libarchive≥ 3.0.0, < 3.6.2
Mageia1 product
- libarchive< 3.6.1-1.1.mga8
Splunk1 product
- universal_forwarder≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0
Ubuntu1 product
- libarchive< 3.1.2-7ubuntu2.8+esm3 | < 3.1.2-11ubuntu0.16.04.8+esm1 | < 3.2.2-3.1ubuntu0.7+esm1 | < 3.4.0-2ubuntu1.3 | < 3.6.0-1ubuntu1.2
Wolfi1 product
- libarchive< 3.6.1-r2
12 vendors · 30 products
References
34 links- github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.cThird Party Advisory