cbcvebase.
CVE-2022-36227
published 2022-11-22

CVE-2022-36227: 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…

PriorityP350critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.94%
77.8th percentile
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."

Affected

19 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianlibarchive< libarchive 3.6.2-1 (bookworm)libarchive 3.6.2-1 (bookworm)
fedoraprojectfedora
libarchivelibarchive>= 0 < 3.4.3-2+deb11u23.4.3-2+deb11u2
libarchivelibarchive>= 0 < 3.6.2-13.6.2-1
libarchivelibarchive>= 0 < 3.6.2-13.6.2-1
libarchivelibarchive>= 0 < 3.6.2-13.6.2-1
libarchivelibarchive>= 0 < 3.4.0-2ubuntu1.33.4.0-2ubuntu1.3
libarchivelibarchive>= 0 < 3.6.0-1ubuntu1.23.6.0-1ubuntu1.2
libarchivelibarchive>= 0 < 3.7.2-2ubuntu0.23.7.2-2ubuntu0.2
libarchivelibarchive>= 0 < 3.1.2-7ubuntu2.8+esm33.1.2-7ubuntu2.8+esm3
libarchivelibarchive>= 0 < 3.1.2-11ubuntu0.16.04.8+esm13.1.2-11ubuntu0.16.04.8+esm1
libarchivelibarchive>= 0 < 3.2.2-3.1ubuntu0.7+esm13.2.2-3.1ubuntu0.7+esm1
libarchivelibarchive>= 3.0.0 < 3.6.23.6.2
msrccbl2_libarchive_3.6.1-2_on_cbl_mariner_2.0
msrccm1_libarchive_3.6.1-2_on_cbl_mariner_1.0
splunkuniversal_forwarder
splunkuniversal_forwarder>= 8.2.0 < 8.2.128.2.12
splunkuniversal_forwarder>= 9.0.0 < 9.0.69.0.6

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.