CVE Catalog

CVE-2022-36227

Low
Published: Translated: NVD NIST

Summary

In libarchive before version 3.6.2, the software does not check for an error after calling the calloc function, which can return a NULL pointer, leading to a NULL pointer dereference.

Risk Assessment

This could lead to application crashes or potentially arbitrary code execution in a controlled attacker scenario.

Recommendation

It is recommended to upgrade libarchive to version 3.6.2 or later, which includes proper error checking after calloc.

Original NVD description (English source)

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-executi

Vulnerability data from NVD (NIST) · CISA KEV · EPSS