Live threats

All CVEs / Libarchive

CVE-2022-36227Libarchive

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Nov 22, 2022
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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."

Original NVD text.

What to do

  1. Apply the vendor's security update for Libarchive.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libarchivelibarchive≥ 3.0.0 < 3.6.2
debiandebian_linux10.0
fedoraprojectfedora37
splunkuniversal_forwarder≥ 8.2.0 < 8.2.12
splunkuniversal_forwarder≥ 9.0.0 < 9.0.6
splunkuniversal_forwarder9.1.0

Official sources

References

Links published by the sources. Open them with care.