Skip to content
OpenAdvisories
Low · 2.5 CVE-2025-64031 EUVD-2025-210902GHSA-pqgv-phc2-5p8r

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_compres…

Published Sep 14, 2026 · Updated Sep 16, 2026 · Assigned by mitre

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

Affected products

VendorProductAffectedFixed
libarchive libarchive 3.8.0 – < 3.8.2 3.8.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 bsdcat +5 3.8.8-3.1.hum1 RHSA-2026:43818

Advisories 2

References