CVE Catalog

CVE-2025-64031

LowCVSS 2.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

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

Summary

libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the original-filename field to archive_compressor_gzip_open in archive_write_add_filter_gzip.c (GHSA-92wx-p669-8gr9). This relates to bsdtar. Exploitation requires obtaining original-filename from an untrusted party.

Risk Assessment

A heap-based buffer overflow could potentially lead to arbitrary code execution or application crash. However, the exploitation scenario is marginally plausible because original-filename is not derived from input data.

Recommendation

Upgrade libarchive to version 3.8.2 or later, which contains the fix for this issue.

Other vulnerabilities in libarchive

See all
Original NVD description (English source)

libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the original-filename field to archive_compressor_gzip_open in archive_write_add_filter_gzip.c, aka GHSA-92wx-p669-8gr9. This relates to bsdtar. Exploitation envisions a marginally plausible scenario in which original-filename is obtained from an untrusted party. (original-filename is not derived from the input data.)

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