CVE-2022-36227

CRITICAL CVSS 3.1: 9.8 EPSS 2.68%
Updated Oct 09, 2026
Fedoraproject
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions 3.0.0 — 9.0.6
Fixed In 3.6.2
Type CWE-476 (NULL Pointer Dereference)
Vendor Fedoraproject
Public PoC No

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 6

Configuration From (including) Up to (excluding)
Libarchive Libarchive
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
3.0.0 3.6.2
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
— —
Splunk Universal_Forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
8.2.0 8.2.12
Splunk Universal_Forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
9.0.0 9.0.6
Splunk Universal_Forwarder
cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*
— —