CVE Catalog

CVE-2021-36976

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.85%

87th percentile - higher than 87% of all known CVEs

Summary

libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block). This can lead to memory corruption when processing crafted archives.

Risk Assessment

Exploitation may cause application crashes or potentially enable code execution in the context of the process handling untrusted archives. This affects systems and tools using libarchive to extract data.

Recommendation

Update libarchive to a version newer than 3.5.1 containing the fix. Avoid processing untrusted archives until the update is applied.

Other vulnerabilities in libarchive

See all
Original NVD description (English source)

libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).

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