Skip to content

CVE-2025-64031 libarchive: libarchive: Denial of Service via heap-based buffer overflow in gzip writer

LowCVSS 2.5 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
DebianRed Hat

Description

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

Upgrade path

4 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) All versions No fix listed No fix yet
libarchive >= 3.8.0, < 3.8.2 3.8.2 Fixed
redhat/libarchive-main(Red Hat hummingbird 1) < 3.8.8-3.1.hum1 3.8.8-3.1.hum1 Fixed

Affected products

ProductAffected versionsFixed in
redhat/libarchive-main(Red Hat:hummingbird:1) < 3.8.8-3.1.hum1 3.8.8-3.1.hum1
redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) All versions No fix listed
libarchive >= 3.8.0, < 3.8.2 3.8.2

References